GetIOCAImageInfo Method

 

Description

Returns general information about an IOCA image.

 

Syntax

Dib = [BITIFF.] GetIOCAImageInfo FileName Compression, Recording, BitDepth, Width, Height, XDPI, YDPI

 

Parameters

FileName

String

Full path to the IOCA file.

 

Compression

Long

(Returned value) The compression used. For the possible values, please see the IBM IOCA reference. The Document Imaging SD/ActiveX supports the following compressions:

 

·         1: IBM MMR

·         3: Uncompressed

·         12: Pack Bits

·         13: LZW

·         128: CCITT Group 3 1D

·         129: CCITT Group 3 2D

·         130: CCITT Group 4

·         131: JPEG

 

Recording

Long

(Returned value) The recording algorithm used. For the possible values, please see the IBM IOCA reference. The Document Imaging SDK/ActiveX supports the RIDIC (1) value only, which is the only value allowed in In Function Set 10 images.

 

BitDepth

Long

(Returned value) The color depth of the image in bits/pixel.

 

Width

Long

(Returned value) The width of the image in pixels.

 

Height

Long

(Returned value) The height of the image in pixels.

 

DPIX

Long

(Returned value) The horizontal resolution of the image in DPI.

 

DPIY

Long

(Returned value) The vertical resolution of the image in DPI.

 

Return Value

Zero on success, or an error code on failure. For the possible error codes, please see the BiTiff.ocx error codes.