Package pixy.image.png
Class SRGBReader
java.lang.Object
pixy.image.png.SRGBReader
- All Implemented Interfaces:
Reader
public class SRGBReader extends java.lang.Object implements Reader
PNG sRGB chunk reader
- Version:
- 1.0 10/16/2013
- Author:
- Wen Yu, yuwen_66@yahoo.com
-
Constructor Summary
Constructors Constructor Description SRGBReader(Chunk chunk)
-
Method Summary
Modifier and Type Method Description byte
getRenderingIntent()
sRGB rendering intent:void
read()
-
Constructor Details
-
Method Details
-
getRenderingIntent
public byte getRenderingIntent()sRGB rendering intent:0 - Perceptual: for images preferring good adaptation to the output device gamut at the expense of colorimetric accuracy, such as photographs.
1 - Relative colorimetric: for images requiring colour appearance matching (relative to the output device white point), such as logos.
2 - Saturation: for images preferring preservation of saturation at the expense of hue and lightness, such as charts and graphs.
3 - Absolute colorimetric: for images requiring preservation of absolute colorimetry, such as previews of images destined for a different output device (proofs).
-
read
public void read() throws java.io.IOException
-