On Thu, 2005-04-07 at 11:41 -0500, Tommy Reynolds wrote:
Uttered "Paul W. Frields" stickster@gmail.com, spake thus:
There was some list traffic about this several times in the not-too- distant past... I can't remember the content of all the discussions, but the idea of whether to use FOP was definitely tossed around. Could anyone with some time and inclination check the archives and try to summarize the discussions here? Or is that unnecessary? If someone were to do that, I would put a page up on the wiki in an agreeable place (and with an agreeable name) just so we have a reference point.
The concern was that FOP needed some non-GPL assistance to render some graphic content. Specifically, FOP can render BMP, EPS, GIF, JPEG and TIFF files without any assistance. With JIMI or JAI (which are not GPL'ed), PNG can be rendered. With BATIK, also an Apache product, SVG files can also be rendered.
None of the non-free assistant packages are included or distributed with FOP. FOP will notice these add-ons if present, but will work without them, with the only caveat being PNG input will not work.
The official details are at http://xml.apache.org/fop/graphics.html, for those who are interested.
CC-ing to fedora-devel-java-list
Surely there must be a GPL-friendly PNG handler in Java somewhere? How hard would it be to rewrite this part of FOP? What's the status of getting a natively-compiled FOP into Fedora?
On Thu, 2005-04-07 at 15:49 -0400, David Malcolm wrote:
On Thu, 2005-04-07 at 11:41 -0500, Tommy Reynolds wrote:
Uttered "Paul W. Frields" stickster@gmail.com, spake thus:
There was some list traffic about this several times in the not-too- distant past... I can't remember the content of all the discussions, but the idea of whether to use FOP was definitely tossed around. Could anyone with some time and inclination check the archives and try to summarize the discussions here? Or is that unnecessary? If someone were to do that, I would put a page up on the wiki in an agreeable place (and with an agreeable name) just so we have a reference point.
The concern was that FOP needed some non-GPL assistance to render some graphic content. Specifically, FOP can render BMP, EPS, GIF, JPEG and TIFF files without any assistance. With JIMI or JAI (which are not GPL'ed), PNG can be rendered. With BATIK, also an Apache product, SVG files can also be rendered.
None of the non-free assistant packages are included or distributed with FOP. FOP will notice these add-ons if present, but will work without them, with the only caveat being PNG input will not work.
The official details are at http://xml.apache.org/fop/graphics.html, for those who are interested.
CC-ing to fedora-devel-java-list
Surely there must be a GPL-friendly PNG handler in Java somewhere? How hard would it be to rewrite this part of FOP? What's the status of getting a natively-compiled FOP into Fedora?
There's a gdk-pixbuf-based PNG decoder in libgcj's javax.imageio implementation. No encoder though. Probably the most efficient way to get a GPL-compatible Java PNG encoder is to package JMagick:
Likely some glue code will be required to make it work with FOP. Have you asked the FOP maintainers why a JMagick back end doesn't exist yet?
Tom
On Thu, 2005-04-07 at 16:27 -0400, Thomas Fitzsimmons wrote:
On Thu, 2005-04-07 at 15:49 -0400, David Malcolm wrote:
Surely there must be a GPL-friendly PNG handler in Java somewhere? How hard would it be to rewrite this part of FOP? What's the status of getting a natively-compiled FOP into Fedora?
There's a gdk-pixbuf-based PNG decoder in libgcj's javax.imageio implementation. No encoder though.
How about the imageio stuff from the java-gui-branch[1]? I've successfully rendered PNG images using the java-gui-20050128-branch, so this should be available in gcc4 as well.
Probably the most efficient way to get a GPL-compatible Java PNG encoder is to package JMagick.
Before libgcj got imageio writing support, I also used PndEncoder[2], which is a pure-java encoder (LGPL).
[1] http://lists.gnu.org/archive/html/classpath-patches/2005-01/msg00093.html [2] http://catcode.com/pngencoder/
On Thu, 2005-04-07 at 23:41 +0200, Ziga Mahkovec wrote:
On Thu, 2005-04-07 at 16:27 -0400, Thomas Fitzsimmons wrote:
On Thu, 2005-04-07 at 15:49 -0400, David Malcolm wrote:
Surely there must be a GPL-friendly PNG handler in Java somewhere? How hard would it be to rewrite this part of FOP? What's the status of getting a natively-compiled FOP into Fedora?
There's a gdk-pixbuf-based PNG decoder in libgcj's javax.imageio implementation. No encoder though.
How about the imageio stuff from the java-gui-branch[1]? I've successfully rendered PNG images using the java-gui-20050128-branch, so this should be available in gcc4 as well.
Oh damn, yes. I forgot Graydon had added that. I also see I didn't answer the actual question: providing a natively-compiled FOP in Fedora wouldn't be very hard at all. What is the application you're trying to get working?
Tom
java-devel@lists.fedoraproject.org