cnv.GetPictureInfos

This job determines image information from the files of a document.

Determination is only performed for image and PDF documents.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

1 = do not delete the passed file list; 0 = delete (for client-side calls)

[ObjectID]

INT

No

ID of the document (alternative to file list)

[ObjectType]

INT

No

Type of the object (alternative to file list)

[Page]

STRING

No

Page number of the document (file list) for which the data should be retrieved. Default: 1; All for all pages.

2. Input Files

Name Description

[File list]

Paths and names of files whose image information should be determined (alternative to ObjectID/ObjectType)

3. Output Parameters

The information is returned in the form Infoname(Page number) value.

For image documents the following values (INT) are returned:

Parameter Description

InfoBits(N)

Color depth

InfoCompress(N)

Compression type

InfoFormat(N)

Image format

InfoIFD(N)

IFD information

InfoLayers(N)

Number of layers

InfoSizeDisk(N)

File size on storage device

InfoSizeMem(N)

Memory size (uncompressed)

InfoViewPerspective(N)

Orientation

InfoHeight(N)

Image height in pixels

InfoWidth(N)

Image width in pixels

InfoFileType(N)

File type identifier

InfoFileSuffix(N)

File extension

For PDF files the following values are returned:

Parameter Description

InfoFormat(N)

Document format

InfoFileType(N)

File type identifier

InfoFileSuffix(N)

File extension

(N = page number)

4. Return Value

(INT): 0 = Job successful, otherwise error code.