public class Jbig2ImageData extends ImageData
bpc, colorSpace, colorTransform, data, decode, decodeParms, deflated, dpiX, dpiY, filter, height, imageAttributes, imageMask, imageSize, interpolation, inverted, mask, mySerialId, originalType, profile, rotation, transparency, url, width, XYRatio
Modifier | Constructor and Description |
---|---|
protected |
Jbig2ImageData(byte[] bytes, int page) |
protected |
Jbig2ImageData(URL url, int page) |
Modifier and Type | Method and Description |
---|---|
boolean |
canImageBeInline()
Checks if image can be inline
|
static int |
getNumberOfPages(byte[] bytes)
Gets the number of pages in a JBIG2 image.
|
static int |
getNumberOfPages(RandomAccessFileOrArray raf)
Gets the number of pages in a JBIG2 image.
|
int |
getPage() |
canBeMask, getBpc, getColorSpace, getColorTransform, getData, getDecode, getDecodeParms, getDpiX, getDpiY, getFilter, getHeight, getImageAttributes, getImageMask, getOriginalType, getProfile, getRotation, getTransparency, getUrl, getWidth, getXYRatio, isDeflated, isInterpolation, isInverted, isMask, isRawImage, isSoftMask, makeMask, setBpc, setColorSpace, setColorTransform, setDecode, setDeflated, setDpi, setFilter, setHeight, setImageAttributes, setImageMask, setInterpolation, setInverted, setProfile, setRotation, setTransparency, setUrl, setWidth, setXYRatio
protected Jbig2ImageData(URL url, int page)
protected Jbig2ImageData(byte[] bytes, int page)
public int getPage()
public static int getNumberOfPages(byte[] bytes)
bytes
- a byte array containing a JBIG2 image
public static int getNumberOfPages(RandomAccessFileOrArray raf)
raf
- a RandomAccessFileOrArray
containing a JBIG2 image
public boolean canImageBeInline()
ImageData
canImageBeInline
in class ImageData
Copyright © 1998–2018 iText Group NV. All rights reserved.