ImageGear Professional for Windows ActiveX
Basic Capabilities of Each Filter

To access the IGFormatParams Object for a given format filter, your application will use the Format Property of the IGFormatsSettings Object. For instance, to access the IGFormatParams Object for the JPEG format filter, your application would execute the following:

 
Copy Code
Dim jpeg as IGFormatParams
Dim temp as IGFormatParams
Dim i As Integer
For i = 0 To IGFormatsCtl1.Settings.FormatCount - 1
Set temp = IGFormatsCtl1.Settings.Format(i)
If temp.ID = IG_FORMAT_JPG Then
Set jpeg = temp
Break
End If
Next i

The general features of a given format filter are described by the 1-bit flags in IGFormatParams Object.Flags Property. The table below describes the meaning of each of these flags:

IG_FLTR_DETECTSUPPORT Means that filter supports auto-detection.
IG_FLTR_PAGEREADSUPPORT Means that filter supports single page file reading.
IG_FLTR_MPAGEREADPSUPPORT Means that filter supports multi-page (document) file reading.
IG_FLTR_PAGEINSERTSUPPORT Means that filter supports single-page file writing.
IG_FLTR_MPAGEWRITEPSUPPORT Means that filter supports multi-page (document) file writing.
IG_FLTR_PAGEDELETESUPPORT Means that filter supports page deleting from multi-page file.
IG_FLTR_PAGESWAPSUPPORT Means that filter supports page swapping in multi-page files.
IG_FLTR_MPDATASUPPORT Means that filter supports faster multi-page access by storing private format data .

Please see information about the supported features for each format filter in the ImageGear Supported File Formats Reference section.

ImageGear supports different types of image compression. Currently every ImageGear format filter has its own list of supported compressions. Your application can determine which compressions are supported by a format filter by checking the values in IGCompressionsInfo Object. To check if the JPEG format filter supports the PACKED_BITS compression, your application would execute the following:

 
Copy Code
Dim jpeg as IGFormatParams
.
. (set jpeg as above)
.
Dim comp as IGCompressionInfo
Set comp = jpeg.GetCompressions()
Dim i As Integer
For i = 0 To comp.Count - 1
If comp.Item(i) = IG_COMPRESSION_PACKED_BITS Then
` It does!
End If
Next i

For information about the supported compressions for every format filter, see the ImageGear Supported File Formats Reference section.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback