ImageType
Image handling
Description
Returns the storage type of the selected image
Syntax
Delphi
Function TPDFlib.ImageType: Integer;ActiveX
Function PDFlib::ImageType() As LongDLL
int DLImageType(int InstanceID);Return values
| 0 | No image is selected |
|---|---|
| 1 | JPEG |
| 2 | BMP |
| 3 | TIFF, including a native CCITT strip in a standalone TIFF wrapper |
| 4 | PNG |
| 5 | WMF |
| 6 | EMF |
| 7 | GIF |
| 8 | WebP |
| 9 | Standalone JBIG2 with the original page and global segments |