ImageGear for C and C++ on Linux v19.10 - Updated
Work with Image Utility Functions
User Guide > How to Work with... > Common Operations > Manipulating Image Data > Work with Image Utility Functions

ImageGear's image utility family of functions provides the capabilities to create, import, and export images in either DIB or DDB format, and to obtain information about any image for which you have a HIGEAR handle. You can also obtain information about image files stored on mass storage devices, such as the file format type, compression, width, height, bits per pixel, or number of pages if a multi-page file.

A few special purpose image utility functions tell you whether a HIGEAR variable contains a valid image handle, and whether an image is grayscale. In addition, there are six functions to help you read and write palettes, either whole or one entry at a time, and save them to disk. There's also a function that lets you set special control options that alter the operation of ImageGear's file format read-write filters during file operations.

One additional important image utility function sets an image's "image rectangle", which determines the portion of the image to be displayed, printed, or saved during display, print, and save operations. Refer to Core Component API Reference for detailed calling sequences and further notes on these functions.

This section provides the following information: