Package com.itextpdf.io.image
Class PngImageData
java.lang.Object
com.itextpdf.io.image.ImageData
com.itextpdf.io.image.RawImageData
com.itextpdf.io.image.PngImageData
-
Field Summary
Fields inherited from class com.itextpdf.io.image.RawImageData
CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, typeCcittFields inherited from class com.itextpdf.io.image.ImageData
bpc, colorEncodingComponentsNumber, colorTransform, data, decode, decodeParms, deflated, dpiX, dpiY, filter, height, imageAttributes, imageMask, imageSize, interpolation, inverted, mask, mySerialId, originalType, profile, rotation, transparency, url, width, XYRatio -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPngImageData(byte[] bytes) protectedPngImageData(URL url) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]intfloatgetGamma()booleanbooleanbooleanvoidsetColorPalette(byte[] colorPalette) voidsetColorType(int colorType) voidsetGamma(float gamma) voidsetPngChromaticities(PngChromaticities pngChromaticities) Methods inherited from class com.itextpdf.io.image.RawImageData
getTypeCcitt, isRawImage, setTypeCcittMethods inherited from class com.itextpdf.io.image.ImageData
canBeMask, canImageBeInline, getBpc, getColorEncodingComponentsNumber, getColorTransform, getData, getDecode, getDecodeParms, getDpiX, getDpiY, getFilter, getHeight, getImageAttributes, getImageMask, getOriginalType, getProfile, getRotation, getTransparency, getUrl, getWidth, getXYRatio, isDeflated, isInterpolation, isInverted, isMask, isSoftMask, makeMask, setBpc, setColorEncodingComponentsNumber, setColorTransform, setDecode, setDeflated, setDpi, setFilter, setHeight, setImageAttributes, setImageMask, setInterpolation, setInverted, setProfile, setRotation, setTransparency, setUrl, setWidth, setXYRatio
-
Constructor Details
-
PngImageData
protected PngImageData(byte[] bytes) -
PngImageData
-
-
Method Details
-
getColorPalette
public byte[] getColorPalette() -
setColorPalette
public void setColorPalette(byte[] colorPalette) -
getGamma
public float getGamma() -
setGamma
public void setGamma(float gamma) -
isHasCHRM
public boolean isHasCHRM() -
getPngChromaticities
-
setPngChromaticities
-
getColorType
public int getColorType() -
setColorType
public void setColorType(int colorType) -
isIndexed
public boolean isIndexed() -
isGrayscaleImage
public boolean isGrayscaleImage()
-