Package com.itextpdf.io.image
Class BmpImageData
java.lang.Object
com.itextpdf.io.image.ImageData
com.itextpdf.io.image.RawImageData
com.itextpdf.io.image.BmpImageData
-
Field Summary
FieldsFields inherited from class com.itextpdf.io.image.RawImageData
CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, 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
ConstructorsModifierConstructorDescriptionprotected
BmpImageData
(byte[] bytes, boolean noHeader) Creates instance ofBmpImageData
protected
BmpImageData
(URL url, boolean noHeader) Creates instance ofBmpImageData
-
Method Summary
Methods inherited from class com.itextpdf.io.image.RawImageData
getTypeCcitt, isRawImage, setTypeCcitt
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 Details
-
noHeader
private final boolean noHeader
-
-
Constructor Details
-
BmpImageData
Creates instance ofBmpImageData
- Parameters:
url
- url of the imagenoHeader
- indicates that the source image does not have a header
-
BmpImageData
protected BmpImageData(byte[] bytes, boolean noHeader) Creates instance ofBmpImageData
- Parameters:
bytes
- contents of the imagenoHeader
- indicates that the source image does not have a header
-
-
Method Details
-
isNoHeader
public boolean isNoHeader()- Returns:
- True if the bitmap image does not contain a header
-