Here's the javadoc: /** Creates an Image with CCITT G3 or G4 compression. It assumes that the data bytes * are already compressed. * * @param width the exact width of the image * @param height the exact height of the image * @param reverseBits reverses the bits in <code>data</code>. * Bit 0 is swapped with bit 7 and so on * @param typeCCITT the type of compression in <code>data</code>. It can be * CCITTG4, CCITTG31D, CCITTG32D * @param parameters parameters associated with this stream. Possible values are * CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFLINE and CCITT_ENDOFBLOCK or a * combination of them * @param data the image data * @throws BadElementException on error */ public static Image getInstance(int width, int height, boolean reverseBits, int typeCCITT, int parameters, byte[] data) throws BadElementException
Best Regards, Paulo Soares > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Youssef Eldakar > Sent: Thursday, June 24, 2004 12:45 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] Image.getInstance Documentation > > Can somebody explain what the `parameters` argument is for in: > > Image.getInstance(int width, int height, boolean reverse, int > ccitt, int parameters, byte[] data) > > The API documentation says nothing about it. > > Youssef Eldakar > Bibliotheca Alexandrina > NHS[{rAyj)Vv~):xUènØÖuÇrqÆÉéÈjyÙ > )ÛØXrHÊ7ØÉXX$zË{Ëq zØXË~zwXÏË× > N¬HS^µé[)¢{(ç[ÈZrAÚâyø§Äëj)â