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
Fields 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
ModifierConstructorDescriptionprotected
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, makeMask, setBpc, setColorEncodingComponentsNumber, setColorTransform, setDecode, setDeflated, setDpi, setFilter, setHeight, setImageAttributes, setImageMask, setInterpolation, setInverted, setProfile, setRotation, setTransparency, setUrl, setWidth, setXYRatio
-
Constructor Details
-
BmpImageData
Creates instance ofBmpImageData
- Parameters:
-
url
- url of the image -
noHeader
- 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 image -
noHeader
- 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
-