ImageGear for Java
ImGearFileFormats Class Methods

For a list of all members of this type, see ImGearFileFormats members.

Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)detectDetects the format of an image.  
Public Methodstatic (Shared in Visual Basic)exportToImageExports a BufferedImage, in 24bpp RGB format.  
Public Methodstatic (Shared in Visual Basic)getFiltersGets access to the file formats settings.

Instance of class for managing file formats.

Use this method to get access to the ImGearFileFilters class instance that enables you to manage file formats and their settings.

ImGearFileFilters

 
Public Methodstatic (Shared in Visual Basic)getPageCountOverloaded. 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.

ImGearFormats

 
Public Methodstatic (Shared in Visual Basic)getSavingFilterOverloaded. 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.

ImGearSavingFormats

 
Public Methodstatic (Shared in Visual Basic)getSavingFormatsOverloaded. 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.

ImGearSavingFormatscom.accusoft.imagegear.core.ImGearPage

 
Public Methodstatic (Shared in Visual Basic)loadDocumentOverloaded. 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.

 
Public Methodstatic (Shared in Visual Basic)loadPageOverloaded. 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.

com.accusoft.imagegear.core.ImGearPage

 
Public Methodstatic (Shared in Visual Basic)loadPageHeaderOverloaded. 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.

com.accusoft.imagegear.core.ImGearPage

 
Public Methodstatic (Shared in Visual Basic)saveDocumentSaves document to an image.  
Public Methodstatic (Shared in Visual Basic)savePageOverloaded. Saves page to an image.  
Public Methodstatic (Shared in Visual Basic)updatePageMetadataOverloaded. Creates a new file with exact copy of source file's pixel data and with new metadata.  
Top
See Also

Reference

ImGearFileFormats Class
com.accusoft.imagegear.formats Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback