Package com.itextpdf.io.image
Class RawImageData
- java.lang.Object
-
- com.itextpdf.io.image.ImageData
-
- com.itextpdf.io.image.RawImageData
-
- Direct Known Subclasses:
BmpImageData,PngImageData,TiffImageData
public class RawImageData extends ImageData
-
-
Field Summary
Fields Modifier and Type Field Description static intCCITT_BLACKIS1A flag indicating whether 1-bits are to be interpreted as black pixels and 0-bits as white pixels,static intCCITT_ENCODEDBYTEALIGNA flag indicating whether the filter expects extra 0-bits before each encoded line so that the line begins on a byte boundary.static intCCITT_ENDOFBLOCKA flag indicating whether the filter expects the encoded data to be terminated by an end-of-block pattern, overriding the Rows parameter.static intCCITT_ENDOFLINEA flag indicating whether end-of-line bit patterns are required to be present in the encoding.static intCCITTG3_1DPure one-dimensional encoding (Group 3, 1-D)static intCCITTG3_2DMixed one- and two-dimensional encoding (Group 3, 2-D)static intCCITTG4Pure two-dimensional encoding (Group 4)protected inttypeCcitt-
Fields 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
Constructors Modifier Constructor Description protectedRawImageData(byte[] bytes, ImageType type)protectedRawImageData(java.net.URL url, ImageType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetTypeCcitt()booleanisRawImage()voidsetTypeCcitt(int typeCcitt)-
Methods 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, loadData, makeMask, setBpc, setColorEncodingComponentsNumber, setColorTransform, setDecode, setDeflated, setDpi, setFilter, setHeight, setImageAttributes, setImageMask, setInterpolation, setInverted, setProfile, setRotation, setTransparency, setUrl, setWidth, setXYRatio
-
-
-
-
Field Detail
-
CCITTG4
public static final int CCITTG4
Pure two-dimensional encoding (Group 4)- See Also:
- Constant Field Values
-
CCITTG3_1D
public static final int CCITTG3_1D
Pure one-dimensional encoding (Group 3, 1-D)- See Also:
- Constant Field Values
-
CCITTG3_2D
public static final int CCITTG3_2D
Mixed one- and two-dimensional encoding (Group 3, 2-D)- See Also:
- Constant Field Values
-
CCITT_BLACKIS1
public static final int CCITT_BLACKIS1
A flag indicating whether 1-bits are to be interpreted as black pixels and 0-bits as white pixels,- See Also:
- Constant Field Values
-
CCITT_ENCODEDBYTEALIGN
public static final int CCITT_ENCODEDBYTEALIGN
A flag indicating whether the filter expects extra 0-bits before each encoded line so that the line begins on a byte boundary.- See Also:
- Constant Field Values
-
CCITT_ENDOFLINE
public static final int CCITT_ENDOFLINE
A flag indicating whether end-of-line bit patterns are required to be present in the encoding.- See Also:
- Constant Field Values
-
CCITT_ENDOFBLOCK
public static final int CCITT_ENDOFBLOCK
A flag indicating whether the filter expects the encoded data to be terminated by an end-of-block pattern, overriding the Rows parameter. The use of this flag will set the key /EndOfBlock to false.- See Also:
- Constant Field Values
-
typeCcitt
protected int typeCcitt
-
-
Method Detail
-
isRawImage
public boolean isRawImage()
- Overrides:
isRawImagein classImageData
-
getTypeCcitt
public int getTypeCcitt()
-
setTypeCcitt
public void setTypeCcitt(int typeCcitt)
-
-