ImageType

Image handling

Description

Returns the storage type of the selected image

Syntax

Delphi

Function TPDFlib.ImageType: Integer;

ActiveX

Function PDFlib::ImageType() As Long

DLL

int DLImageType(int InstanceID);

Return values

0No image is selected
1JPEG
2BMP
3TIFF, including a native CCITT strip in a standalone TIFF wrapper
4PNG
5WMF
6EMF
7GIF
8WebP
9Standalone JBIG2 with the original page and global segments

See also

FindImages, SaveImageToFile