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 RawImageData
CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, typeCcittFields inherited from class 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
ConstructorsModifierConstructorDescriptionprotectedBmpImageData(byte[] bytes, boolean noHeader) Creates instance ofBmpImageDataprotectedBmpImageData(URL url, boolean noHeader) Creates instance ofBmpImageData -
Method Summary
Methods inherited from class RawImageData
getTypeCcitt, isRawImage, setTypeCcittMethods inherited from class 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
-