| java.lang.Object com.lowagie.text.pdf.codec.TiffImage
TiffImage | public class TiffImage (Code) | | Reads TIFF images
author: Paulo Soares (psoares@consiste.pt) |
decodePackbits | public static void decodePackbits(byte data, byte[] dst)(Code) | | |
getNumberOfPages | public static int getNumberOfPages(RandomAccessFileOrArray s)(Code) | | Gets the number of pages the TIFF document has.
Parameters: s - the file source the number of pages |
getTiffImage | public static Image getTiffImage(RandomAccessFileOrArray s, int page)(Code) | | Reads a page from a TIFF image. Direct mode is not used.
Parameters: s - the file source Parameters: page - the page to get. The first page is 1 the Image |
getTiffImage | public static Image getTiffImage(RandomAccessFileOrArray s, int page, boolean direct)(Code) | | Reads a page from a TIFF image.
Parameters: s - the file source Parameters: page - the page to get. The first page is 1 Parameters: direct - for single strip, CCITT images, generate the imageby direct byte copying. It's faster but may not workevery time the Image |
inflate | public static void inflate(byte[] deflated, byte[] inflated)(Code) | | |
|
|