ImageGear for Java
Saving Image Files with Embedded Color Profiles

ImageGear supports saving color profiles when saving image files. Currently, ImageGear embeds color profiles in the following file formats:

Use the setEmbedColorProfile method of ImGearSaveOptions Class to enable or disable embedding of color profiles in image files. By default embedding of color profiles in image files is enabled. When embedding of color profiles in image files is enabled (default), ImageGear saves the color profile to the file being saved. If the destination format supports the image color space, ImageGear saves the color profile attached to the image, or global color profile selected in ImageGear for this color space. If the color space selected for saving does not match the (in-memory) image color space, ImageGear converts the image to the destination color space, using the global color profile for the destination color space, and saves global color profile to the file.

When embedding of color profiles in image files is disabled, ImageGear does not save the color profile to the destination file. It converts the image to the global color profile during saving. ImageGear also uses this logic for formats that do not support embedded color profiles.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback