Re: What kind of TIFF does FOP support
J.Pietschmann wrote: Well, obsolete or not, it works, is available, platform neutral, easy to install and provides support for a wide range of graphics formats, some of them rather obscure. Do you know of a JAI implementation, preferably OSS and/or freely available, which supports all common subformats of TIFF, PNG, BMP and perhaps a few more? Well, that's right and what is more JAI strongly requires at least jdk1.3 :( -- Oleg Tkachenko Multiconn International Ltd
Re: What kind of TIFF does FOP support
It's fantastic : Many responses to my problems. Thank you very much. - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 24, 2002 9:59 PM Subject: Re: What kind of TIFF does FOP support Rodolphe VAGNER wrote: In fact the first tests I've done seem to indicate the contrary : my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ compressed files are well rendered. It's bizarre, isn'it ? What about jimy ? where can I find doc on it ? Ok, here it goes. The Jimi home page is http://java.sun.com/products/jimi/ You can download the whole package there, including Source, JavaDoc and, most valuable, additional docs describing supported file and image formats. For TIFF, the following compression schemes are supported - Uncompressed images - CCITT compressed Bi-level images with CCITT RLE, CCITT Group 3 1D Fax, CCITT Group 3 2D Fax, CCITT Group 4 Fax - CCITT Class F Fax - Packbits compressed images (a simple RLE type compression) - LZW Compressed images JPEG compression is not supported. The TIFF spec is available from http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf Compression schemes are Packbits: run length encoding (Sec. 9) CCITT G3 Fax (Sec. 10) CCITT Bilevel (Sec. 11) LZW (Sec. 13) JPEG (Sec. 22) CCITT Class F compression is apparently defined in a RFC, for example available here: http://www.zvon.org/tmRFC/RFC2306/Output/chapter3.html It is also mentioned that Jimi does only understand black and white (bilevel), grayscale (palette) and RGB (palette and direct color). CMYK, Cie L*a*b* and YCbCr color models are not implemented. It is not mentioned whether compression predictors are supported, I supposed not (does anybody use them?). It is also not explicitely noted how Jimi deals with alpha channels. If uncompressed TIFF comes out black, probably the color model or palette size is inconvenient for Jimi. J.Pietschmann
Re: What kind of TIFF does FOP support
J.Pietschmann wrote: Ok, here it goes. The Jimi home page is http://java.sun.com/products/jimi/ btw, isn't jimi some kind of obsolete library intended to be used by those tied to jdk1.1? -- Oleg Tkachenko Multiconn International Ltd, Israel
Re: What kind of TIFF does FOP support
Oleg Tkachenko wrote: btw, isn't jimi some kind of obsolete library intended to be used by those tied to jdk1.1? Well, obsolete or not, it works, is available, platform neutral, easy to install and provides support for a wide range of graphics formats, some of them rather obscure. Do you know of a JAI implementation, preferably OSS and/or freely available, which supports all common subformats of TIFF, PNG, BMP and perhaps a few more? A quick sweep through sourceforge revealed only a TIFF implementation. The Sun JAI implementation offers all the formats, but installation requires more than just dropping a jar into the classpath, and it contains platform specific binaries (good for speed but screws Mac users and others). J.Pietschmann
What kind of TIFF does FOP support
Hello, I have to create document with TIFF illustrations. It seems that some TIFF formats are supported and thers are not ( a black area replace the illustration). Can some one tells me what kind of TIFF FOP supports ? thanks
RE: What kind of TIFF does FOP support
most renderers may support uncompressed tiffs... pls correct me if i am wrong. -Original Message- From: Rodolphe VAGNER [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 3:47 PM To: [EMAIL PROTECTED] Subject: What kind of TIFF does FOP support Hello, I have to create document with TIFF illustrations. It seems that some TIFF formats are supported and thers are not ( a black area replace the illustration). Can some one tells me what kind of TIFF FOP supports ? thanks
RE: What kind of TIFF does FOP support
I would like to recall this msg posted earlier by J. Pietschmann Jimi.jar doesn't understand all possible compressions allowed in TIFF. Use uncompressed or RLE compressed TIFFs. Cheers, Max -Original Message- From: Max Dcosta [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 5:10 PM To: '[EMAIL PROTECTED]' Subject: RE: What kind of TIFF does FOP support most renderers may support uncompressed tiffs... pls correct me if i am wrong. -Original Message- From: Rodolphe VAGNER [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 3:47 PM To: [EMAIL PROTECTED] Subject: What kind of TIFF does FOP support Hello, I have to create document with TIFF illustrations. It seems that some TIFF formats are supported and thers are not ( a black area replace the illustration). Can some one tells me what kind of TIFF FOP supports ? thanks
Re: What kind of TIFF does FOP support
In fact the first tests I've done seem to indicate the contrary : my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ compressed files are well rendered. It's bizarre, isn'it ? What about jimy ? where can I find doc on it ? - Original Message - From: Max Dcosta [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 24, 2002 1:45 PM Subject: RE: What kind of TIFF does FOP support I would like to recall this msg posted earlier by J. Pietschmann Jimi.jar doesn't understand all possible compressions allowed in TIFF. Use uncompressed or RLE compressed TIFFs. Cheers, Max -Original Message- From: Max Dcosta [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 5:10 PM To: '[EMAIL PROTECTED]' Subject: RE: What kind of TIFF does FOP support most renderers may support uncompressed tiffs... pls correct me if i am wrong. -Original Message- From: Rodolphe VAGNER [mailto:[EMAIL PROTECTED] Sent: Monday, June 24, 2002 3:47 PM To: [EMAIL PROTECTED] Subject: What kind of TIFF does FOP support Hello, I have to create document with TIFF illustrations. It seems that some TIFF formats are supported and thers are not ( a black area replace the illustration). Can some one tells me what kind of TIFF FOP supports ? thanks
Re: What kind of TIFF does FOP support
Rodolphe VAGNER wrote: In fact the first tests I've done seem to indicate the contrary : my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ compressed files are well rendered. It's bizarre, isn'it ? What about jimy ? where can I find doc on it ? Ok, here it goes. The Jimi home page is http://java.sun.com/products/jimi/ You can download the whole package there, including Source, JavaDoc and, most valuable, additional docs describing supported file and image formats. For TIFF, the following compression schemes are supported - Uncompressed images - CCITT compressed Bi-level images with CCITT RLE, CCITT Group 3 1D Fax, CCITT Group 3 2D Fax, CCITT Group 4 Fax - CCITT Class F Fax - Packbits compressed images (a simple RLE type compression) - LZW Compressed images JPEG compression is not supported. The TIFF spec is available from http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf Compression schemes are Packbits: run length encoding (Sec. 9) CCITT G3 Fax (Sec. 10) CCITT Bilevel (Sec. 11) LZW (Sec. 13) JPEG (Sec. 22) CCITT Class F compression is apparently defined in a RFC, for example available here: http://www.zvon.org/tmRFC/RFC2306/Output/chapter3.html It is also mentioned that Jimi does only understand black and white (bilevel), grayscale (palette) and RGB (palette and direct color). CMYK, Cie L*a*b* and YCbCr color models are not implemented. It is not mentioned whether compression predictors are supported, I supposed not (does anybody use them?). It is also not explicitely noted how Jimi deals with alpha channels. If uncompressed TIFF comes out black, probably the color model or palette size is inconvenient for Jimi. J.Pietschmann