public class PngImageData extends RawImageData
CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, typeCcitt
bpc, colorSpace, colorTransform, data, decode, decodeParms, deflated, dpiX, dpiY, filter, height, imageAttributes, imageMask, imageSize, interpolation, inverted, mask, mySerialId, originalType, profile, rotation, transparency, url, width, XYRatio
Modifier | Constructor and Description |
---|---|
protected |
PngImageData(byte[] bytes) |
protected |
PngImageData(URL url) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getColorPalette() |
int |
getColorType() |
float |
getGamma() |
PngChromaticities |
getPngChromaticities() |
boolean |
isGrayscaleImage() |
boolean |
isHasCHRM() |
boolean |
isIndexed() |
void |
setColorPalette(byte[] colorPalette) |
void |
setColorType(int colorType) |
void |
setGamma(float gamma) |
void |
setPngChromaticities(PngChromaticities pngChromaticities) |
getTypeCcitt, isRawImage, setTypeCcitt
canBeMask, canImageBeInline, getBpc, getColorSpace, getColorTransform, getData, getDecode, getDecodeParms, getDpiX, getDpiY, getFilter, getHeight, getImageAttributes, getImageMask, getOriginalType, getProfile, getRotation, getTransparency, getUrl, getWidth, getXYRatio, isDeflated, isInterpolation, isInverted, isMask, isSoftMask, makeMask, setBpc, setColorSpace, setColorTransform, setDecode, setDeflated, setDpi, setFilter, setHeight, setImageAttributes, setImageMask, setInterpolation, setInverted, setProfile, setRotation, setTransparency, setUrl, setWidth, setXYRatio
protected PngImageData(byte[] bytes)
protected PngImageData(URL url)
public byte[] getColorPalette()
public void setColorPalette(byte[] colorPalette)
public float getGamma()
public void setGamma(float gamma)
public boolean isHasCHRM()
public PngChromaticities getPngChromaticities()
public void setPngChromaticities(PngChromaticities pngChromaticities)
public int getColorType()
public void setColorType(int colorType)
public boolean isIndexed()
public boolean isGrayscaleImage()
Copyright © 1998–2020 iText Group NV. All rights reserved.