ImageGear for Java
ImGearTIFFBitonalPaletteMode Enumeration
Specifies whether ImageGear shall fix strange looking palettes when reading bitonal TIFF images.
Members
MemberDescription
FIXFix strange looking palettes, as follows: if (R0+G0+B0)/3 <, (R1+G1+B1)/3 change palette to (black, white). Otherwise, change palette to (white, black). Specifically, constant palettes (all-black, all-white) are replaced with (white, black) palette.
KEEP_AS_ISKeep palette as is, even if it is all-black or red-green. If photometric interpretation is PALETTE_COLOR, but COLORMAP tag is absent, assume all-black palette.
LEGACYKeep ImageGear 16.0 behavior: read all 1-bit palettes as is. If palette is missing, assume increasing (blackzero) palette.
Inheritance Hierarchy

java.lang.Object
   java.lang.Enum
      com.accusoft.imagegear.formats.tif.ImGearTIFFBitonalPaletteMode

See Also

Reference

com.accusoft.imagegear.formats.tif Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback