ImageGearJava Project > com.accusoft.imagegear.formats Package : ImGearFileFormats Class |
The following tables list the members exposed by ImGearFileFormats.
Name | Description | |
---|---|---|
detect | Detects the format of an image. | |
exportToImage | Exports a BufferedImage , in 24bpp RGB format. | |
getFilters | Gets access to the file formats settings.
Use this method to get access to the ImGearFileFilters class instance that enables you to manage file formats and their settings. | |
getPageCount | Overloaded. Calculates the number of pages in an image.
If format ID is not ImGearFormats.UNKNOWN and image format cannot be detected, an exception is thrown. | |
getSavingFilter | Overloaded. Returns the saving filter for a particular format.
This method comes handy when you need to populate the filter for the Save File dialog with different saving formats. | |
getSavingFormats | Overloaded. Returns an array of all file saving formats compatible with a particular ImGearPage.
This method comes handy when you need to initialize Save File dialog with all saving formats applicable to the ImGearPage object. | |
loadDocument | Overloaded. Loads a range of pages from an image.
This method allows you to load several pages in a single call and get access to the document level metadata of an image. It is recommended to use this method when working with PDF format since pages inside a PDF file depend on each other, and thus, loading them at once (as a document) is preferable to loading pages individually. If the format of an image cannot be detected, an exception is thrown. | |
loadPage | Overloaded. Loads a single page from an image.
This is the simplest method for loading an image into ImageGear. If the format of an image cannot be detected, an exception is thrown. | |
loadPageHeader | Overloaded. Loads image metadata for a particular page without decoding pixel data.
This method loads image metadata for a particular page without decoding pixel data. This method returns an ImGear page containing DIB, metadata, image resolution and all other attributes except for pixel data and the palette. This is useful when you need to look up a particular tag in the metadata or get information about image dimensions while avoiding time consuming operation of decoding the pixel data. | |
saveDocument | Saves document to an image. | |
savePage | Overloaded. Saves page to an image. | |
updatePageMetadata | Overloaded. Creates a new file with exact copy of source file's pixel data and with new metadata. |