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 int
CCITT_BLACKIS1
A flag indicating whether 1-bits are to be interpreted as black pixels and 0-bits as white pixels,static 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.static 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.static int
CCITT_ENDOFLINE
A flag indicating whether end-of-line bit patterns are required to be present in the encoding.static int
CCITTG3_1D
Pure one-dimensional encoding (Group 3, 1-D)static int
CCITTG3_2D
Mixed one- and two-dimensional encoding (Group 3, 2-D)static int
CCITTG4
Pure two-dimensional encoding (Group 4)protected int
typeCcitt
-
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 protected
RawImageData(byte[] bytes, ImageType type)
protected
RawImageData(java.net.URL url, ImageType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTypeCcitt()
boolean
isRawImage()
void
setTypeCcitt(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:
isRawImage
in classImageData
-
getTypeCcitt
public int getTypeCcitt()
-
setTypeCcitt
public void setTypeCcitt(int typeCcitt)
-
-