Fop should use Batik's image readers when possible rather than relying on additional libraries. The attached patch changes PNG and TIFF to use the Batik codecs which are already shipped with FOP. The patch also adds support for 'softMasks' (alpha channels) for PNG and TIFF (at least for PDF output). Enjoy!
Created attachment 12921 [details] Patch file and new files for PNG and TIFF support
Thomas, thank you for the patch. Looks interesting. I don't want to play nitpicker, but from what I've seen from discussion in the incubator it would be best, if you would resubmit the two new Java files with the Apache license header, just so everybody is clear that these files were meant to be submitted to the FOP project for inclusion. Sorry for the trouble. A long thread, just for reference: http://nagoya.apache.org/eyebrowse/BrowseList?listName=general@incubator.apache.org&by=thread&from=883584
Created attachment 13021 [details] Updated Patch with Apache License on source files
Ooops! Sorry about that. You are 100% correct the code needs to be under the Apache License.
Applied. Thanks, Thomas. Some people will be very happy about this change.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed