Clay Leeds wrote (Friday, April 11, 2003 4:58 PM): > This is "sort of" a FAQ (although the FAQ only mentions PNG images). The > answer appears to be JIMI which is used by FOP for all image formats > except most forms of JPG & GIF files: > > http://java.sun.com/products/jimi/ > > (if FOP handles other image formats, I couldn't find them quickly). > According to Sun's JIMI download page: > > Jimi's range of supported formats includes GIF, > JPEG, TIFF, PNG, PICT, Photoshop, BMP, Targa, > ICO, CUR, Sunraster, XBM, XPM, and PCX, although > some of these formats do not have complete > support for all features. > > Since "Photoshop" is listed, I assume the "PSD" graphic you're referring > to is supported. Good luck! > > p.s. Note to Victor: Might we update FAQ 3.2 to: > > My PNG|JPEG|TIFF|GIF|PICT|PSD|BMP|ICO|CUR|SUNRASTER(?)|XBM|XPM|PCX > images don't work. > > or better yet (borrowing from one of Joerg's replies): > > Q: > My image(s) don't work. > > A: > If you're using a JPG, JPG images can contain all kind of weird > color lookup tables and color profiles, not all variants are > supported (not to mention the *illegal* subformats seen here > and there in the wild). Try a JPG produced by a different > graphic program. Specifying 24-bit color output may also help. > > Alternatively, if you're not using a JPG or GIF image, > Sun's Jimi image library, is by default used for > processing images in the following formats: GIF, JPEG > (JPG), TIFF, PNG, PICT, Photoshop (PSD), BMP, Targa, ICO, > CUR, Sunraster, XBM, XPM, and PCX, although some of these > formats do not have complete support for all features. > > The JIMI class library was removed from the FOP > distribution for licensing reasons. You'll have to > download (linked to http://java.sun.com/products/jimi) > and install it by yourself. > > Extract the file "JimiProClasses.zip" from the archive > you've downloaded, rename it to "jimi-1.0.jar" and move > it to FOP's lib directory. > > An alternative to Jimi is to use Sun's JAI. It is much > faster, but not available for all platforms. > > Double-check all my content, as it was copy/pasted (and some of it may > not be true!). This would help with Joerg & my handy dandy "ultimate > assistant" idea (Ctrl-F--ROTFL!) come to fruition... ;-p
Sorry to be so slow responding. First, it took me a while to write the content, then there is a time lag before it is published, then ... I forgot I had flagged the message for followup. Anyway, please review the revised graphics doc: http://xml.apache.org/fop/graphics.html and let me know if we missed anything. The only thing that I think is missing is for all of the formats to be in the faq, which we have already discussed. Thanks for the good input. Victor Mote --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
