Oracle ORDIMG_PKG
Version 21c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
Purpose Utilities Supporting Oracle Media and Spatial
AUTHID CURRENT_USER
Dependencies
DBMS_LOB ORDIMERRORCODES ORD_STR_LIST
ORDIMAGE ORDSOURCE PLITBLM
ORDIMAGECONSTANTS ORDSOURCEEXCEPTIONS XMLSEQUENCETYPE
ORDIMAGEEXCEPTIONS ORDUTIL_PRV XMLTYPE
Documented No
First Available Not known
Security Model Owned by ORDSYS with EXECUTE granted to PUBLIC
Source {ORACLE_HOME}/ord/admin/im/admin/ordipksp.plb
{ORACLE_HOME}/ord/admin/im/admin/ordipkbd.plb
Subprograms
 
APPLYWATERMARK
Undocumented

Overload 1
ordimg_pkg.applyWatermark(
s                    IN OUT ordsys.ordimage,
added_text           IN     VARCHAR2,
dest                 IN OUT ordsys.ordimage,
watermark_properties IN     ordsys.ord_str_list,
logging                 OUT VARCHAR2
TBD
Overload 2 ordimg_pkg.applyWatermark(
s                    IN OUT ordsys.ordimage,
added_image          IN OUT ordsys.ordimage,
dest                 IN OUT ordsys.ordimage,
watermark_properties IN     ordsys.ord_str_list,
logging                 OUT VARCHAR2)
RETURN NUMBER;
TBD
Overload 3 ordimg_pkg.applyWatermark(
src                  IN     BLOB,
added_text           IN     VARCHAR2,
added_image          IN     BLOB,
watermark_properties IN     ordsys.ord_str_list,
dest                 IN OUT BLOB,
addnlerrortext          OUT VARCHAR2,
logging                 OUT VARCHAR2)
RETURN NUMBER;
TBD
Overload 4 ordimg_pkg.applyWatermark(
src                  IN     BFILE,
added_text           IN     VARCHAR2,
added_image          IN     BFILE,
watermark_properties IN     ordsys.ord_str_list,
dest                 IN OUT BLOB,
addnlerrortext          OUT VARCHAR2,
logging                 OUT VARCHAR2)
RETURN NUMBER;
TBD
 
BUILDXMLATTRIBUTES
Undocumented ordimg_pkg.buildXMLAttributes(
retattributes     IN OUT CLOB,
mimetype          IN     VARCHAR2,
width             IN     NUMBER,
height            IN     NUMBER,
fileformat        IN     VARCHAR2,
contentformat     IN     VARCHAR2,
compressionformat IN     VARCHAR2,
contentlength     IN     NUMBER,
version           IN     NUMBER);
TBD
 
BUILDXMLDOC
Undocumented ordimg_pkg.buildXMLDoc(ordimg IN ordsys.ordimage) RETURN sys.xmltype;
TBD
 
CHECKGETMETAARGS
Undocumented ordimg_pkg.checkGetMataArgs(metatype IN VARCHAR2);
TBD
 
CHECKPROPERTIES
Undocumented ordimg_pkg.checkProperties(s IN ordsys.ordimage) RETURN BOOLEAN;
TBD
 
CHECKPUTMETAARGS
Undocumented ordimg_pkg.checkPutMetaArgs(
xmldata  IN sys.xmltype,
metatype IN VARCHAR2,
enctype  IN VARCHAR2);
TBD
 
COPY
Undocumented ordimg_pkg.copy(
s    IN OUT ordsys.ordimage,
dest IN OUT ordsys.ordimage);
TBD
 
COPYCONTENT
Undocumented

Overoad 1
ordimg_pkg.copyContent(
source IN OUT BFILE,
dest   IN OUT BLOB);
TBD
Overoad 2 ordimg_pkg.copyContent(
source IN OUT BLOB,
dest   IN OUT BLOB);
TBD
 
FREETEMPLOB
Undocumented ordimg_pkg.freeTempLOB(l_lob IN OUT CLOB);
DECLARE
 ioVar CLOB := 'It is a tale told by an idiot, Full of sound and fury, Signifying a NULL condition';
BEGIN
  ordsys.ordimg_pkg.freeTempLOB(ioVar);
  dbms_output.put_line(ioVar);
END;
/
DECLARE
*
ERROR at line 1:
ORA-06598: insufficient INHERIT PRIVILEGES privilege
ORA-06512: at "ORDSYS.ORDIMG_PKG", line 1
ORA-06512: at line 4
 
GETDICOMMETADATA
Undocumented

Overload 1
ordimg_pkg.getDicomMetadata(
optionstring IN  VARCHAR2,
imgcontent   IN  BLOB,
dcmxml       OUT public.xmltype,
errstack     OUT VARCHAR2,
RETURN NUMBER;
TBD
Overload 2 ordimg_pkg.getDicomMetadata(
optionstring IN  VARCHAR2,
imgcontent   IN  BFILE,
dcmxml       OUT public.xmltype,
errstack     OUT VARCHAR2,
RETURN NUMBER;
TBD
 
GETHEADERLESSINFO
Undocumented ordimg_pkg.getHeaderlessInfo(
fileformat        IN  VARCHAR2,
height            IN  NUMBER,
width             IN  NUMBER,
compressionformat IN  VARCHAR2,
contentformat     IN  VARCHAR2,
info              OUT VARCHAR2);
TBD
 
GETIMAGEPROPERTIES
Undocumented

Overload 1
ordimg_pkg.getImageProperties(
content           IN  BLOB,
height            OUT NUMBER,
width             OUT NUMBER,
contentlength     OUT NUMBER,
fileformat        OUT VARCHAR2,
contentformat     OUT VARCHAR2,
compressionformat OUT VARCHAR2,
mimetype          OUT VARCHAR2,
addnlerrortext    OUT VARCHAR2)
RETURN NUMBER;
TBD
Overload 2 ordimg_pkg.getImageProperties(
content           IN  BFILE,
height            OUT NUMBER,
width             OUT NUMBER,
contentlength     OUT NUMBER,
fileformat        OUT VARCHAR2,
contentformat     OUT VARCHAR2,
compressionformat OUT VARCHAR2,
mimetype          OUT VARCHAR2,
addnlerrortext    OUT VARCHAR2)
RETURN NUMBER;
TBD
 
GETMETADATA
Undocumented

Overload 1
ordimg_pkg.getMetadata(
imageblob    IN     BLOB,
metadatatype IN     VARCHAR2,
meta1        IN OUT CLOB,
meta2        IN OUT CLOB,
meta3        IN OUT CLOB,
errortext       OUT VARCHAR2)
RETURN NUMBER;
TBD
Overload 2 ordimg_pkg.getMetadata(
imagebfile   IN     BFILE,
metadatatype IN     VARCHAR2,
meta1        IN OUT CLOB,
meta2        IN OUT CLOB,
meta3        IN OUT CLOB,
errortext       OUT VARCHAR2)
RETURN NUMBER;
TBD
 
IMAGECONVERT
Undocumented

Overload 1
ordimg_pkg.imageConvert(
command        IN     VARCHAR2,
headerlessinfo IN     VARCHAR2,
src            IN     BLOB,
dest           IN OUT BLOB,
addnlerrortext    OUT VARCHAR2)
RETURN NUMBER;
TBD
Overload 2 ordimg_pkg.imageConvert(
command        IN     VARCHAR2,
headerlessinfo IN     VARCHAR2,
src            IN     BFILE,
dest           IN OUT BLOB,
addnlerrortext    OUT VARCHAR2)
RETURN NUMBER;
TBD
 
IMPORT
Undocumented ordimg_pkg.import(
s   IN OUT ordsys.ordimage,
ctx IN OUT RAW);
TBD
 
IMPORTFROM
Undocumented ordimg_pkg.importFrom(
s               IN OUT ordsys.ordimage,
ctx             IN OUT RAW,
source_type     IN     VARCHAR2,
source_location IN     VARCHAR2,
source_name     IN     VARCHAR2);
TBD
 
LARGEIMAGECONVERT
Undocumented

Overload 1
ordimg_pkg.largeImageConvert(
command        IN     VARCHAR2,
headerlessinfo IN     VARCHAR2,
src            IN     BLOB,
dest           IN OUT BLOB,
addnlerrortext OUT    VARCHAR2)
RETURN NUMBER;
TBD
Overload 2 ordimg_pkg.largeImageConvert(
command        IN     VARCHAR2,
headerlessinfo IN     VARCHAR2,
src            IN     BFILE,
dest           IN OUT BLOB,
addnlerrortext    OUT VARCHAR2)
RETURN NUMBER;
TBD
 
ORDIMGB_APPLYWATERMARK
Undocumented

Overload 1
ordimg_pkg.ordimgb_applyWatermark(
src                  IN     BLOB,
added_text           IN     VARCHAR2,
dest                 IN OUT BLOB,
watermark_properties IN     ordsys.ord_str_list,
logging                 OUT VARCHAR2)
RETURN BINARY_INTEGER;
TBD
Overload 2 ordimg_pkg.ordimgb_applyWatermark(
src                  IN     BLOB,
added_image          IN     BLOB,
dest                 IN OUT BLOB,
watermark_properties IN     ordsys.ord_str_list,
logging                 OUT VARCHAR2)
RETURN BINARY_INTEGER;
TBD
 
ORDIMGB_PROCESS
Undocumented ordimg_pkg.ordimgb_process(
command        IN     VARCHAR2,
headerlessinfo IN     VARCHAR2,
src            IN     BLOB,
dest           IN OUT BLOB)
RETURN BINARY_INTEGER;
TBD
 
ORDIMGB_SETPROPERTIES
Undocumented ordimg_pkg.ordimgb_setProperties(
content           IN BLOB,
height            OUT BINARY_INTEGER,
width             OUT BINARY_INTEGER,
contentlength     OUT NUMBER,
fileformat        OUT VARCHAR2,
contentformat     OUT VARCHAR2,
compressionformat OUT VARCHAR2,
mimetype          OUT VARCHAR2)
RETURN BINARY_INTEGER;
TBD
 
ORDIMGF_APPLYWATERMARK
Undocumented

Overload 1
ordimg_pkg.ordimgf_applyWatermark(
src                  IN     BFILE,
added_text           IN     VARCHAR2,
dest                 IN OUT BLOB,
watermark_properties IN     ordsys.ord_str_list,
logging                 OUT VARCHAR2)
RETURN BINARY_INTEGER;
TBD
Overload 2 ordimg_pkg.ordimgf_applyWatermark(
src                  IN     BFILE,
added_image          IN     BFILE,
dest                 IN OUT BLOB,
watermark_properties IN     ordsys.ord_str_list,
logging                 OUT VARCHAR2)
RETURN BINARY_INTEGER;
TBD
 
ORDIMGF_PROCESSCOPY
Undocumented ordimg_pkg.ordimgf_processCopy(
command        IN     VARCHAR2,
headerlessinfo IN     VARCHAR2,
src            IN     BFILE,
dest           IN OUT BLOB)
RETURN BINARY_INTEGER;
TBD
 
ORDIMGF_SETPROPERTIES
Undocumented ordimg_pkg.ordimgf_setProperties(
content           IN  BFILE,
height            OUT BINARY_INTEGER,
width             OUT BINARY_INTEGER,
contentlength     OUT NUMBER,
fileformat        OUT VARCHAR2,
contentformat     OUT VARCHAR2,
compressionformat OUT VARCHAR2,
mimetype          OUT VARCHAR2)
RETURN BINARY_INTEGER;
TBD
 
ORDIMG_HEADERLESSSETPROPERTIES
Undocumented ordimg_pkg.ordimg_headerlessSetProperties(
description       IN  VARCHAR2,
height            OUT NUMBER,
width             OUT NUMBER,
fileformat        OUT VARCHAR2,
contentformat     OUT VARCHAR2,
compressionformat OUT VARCHAR2,
mimetype          OUT VARCHAR2,
addnlerrortext    OUT VARCHAR2)
RETURN NUMBER;
TBD
 
PACKMETADATAVECTOR
Undocumented ordimg_pkg.packMetadataVector(
xml1  IN sys.xmltype,
meta2 IN CLOB,
meta3 IN CLOB,
meta4 IN CLOB)
RETURN sys.xmlsequencetype;
TBD
 
PROCESS
Undocumented ordimg_pkg.process(
s       IN OUT ordsys.ordimage,
command IN     VARCHAR2);
TBD
 
PROCESSCOPY
Undocumented ordimg_pkg.processCopy(
s       IN OUT ordsys.ordimage,
command IN     VARCHAR2,
dest    IN OUT ordsys.ordimage);
TBD
 
PUTMETADATA
Undocumented

Overload 1
ordimg_pkg.putMetadata(
imageblob IN BLOB,
dest IN OUT BLOB,
xmldata IN CLOB,
metadatatype IN VARCHAR2,
encoding IN VARCHAR2,
errortext OUT VARCHAR2,
RETURN NUMBER;
TBD
Overload 2 ordimg_pkg.putMetadata(
imagebfile   IN     BFILE,
dest         IN OUT BLOB,
xmldata      IN     CLOB,
metadatatype IN     VARCHAR2,
encoding     IN     VARCHAR2,
errortext       OUT VARCHAR2)
RETURN NUMBER;
TBD
 
SETDEBUGLEVEL
Undocumented ordimg_pkg.setDebugLevel(debuglevel IN NUMBER);
exec ordsys.ordimg_pkg.setDebugLevel(1);
BEGIN ordsys.ordimg_pkg.setDebugLevel(1); END;
*
ERROR at line 1:
ORA-06598: insufficient INHERIT PRIVILEGES privilege
ORA-06512: at "ORDSYS.ORDIMG_PKG", line 1
ORA-06512: at line 1
 
SETPROPERTIES
Undocumented

Overload 1
ordimg_pkg.setProperties(s IN OUT ordsys.ordimage);
TBD
Overload 2 ordimg_pkg.setProperties(
s           IN OUT ordsys.ordimage,
description IN     VARCHAR2);
TBD

Related Topics
Built-in Functions
Built-in Packages
Database Security
ORDIMGEXTCODEC_PKG
What's New In 21c
What's New In 23c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx