I tried to contact the author of the gif encoder code, but unfortunately I can't get a response out of him.
So I fear this extension will not be resolved, as we would need to change the code license to incorporate it in MMBase, and for this we need permisison.
Gomez
Martijn Houtman wrote:
It is easy to add gif writing to JAI, using the ACME library. You only need to change some lines of code in ConvertJAI.java:
// there is no gif encoder in JAI if (format.equals("gif")) { GifEncoder encoder = new GifEncoder(img.getAsBufferedImage(), bout); encoder.encode(); } else { JAI.create("encode", img, bout, format, null); }
The attachment contains code I have written for an older MMBase version, which writes gifs and fixes also a bug. The bug fix is included in the newer versions of MMBase, however, the gif writing is not included. Please use it when you like.
I tried to contact the writer, but never got a response. At his web site
http://www.acme.com/
he states that anyone can use his code and it is freeware. Also the patent on gif writing is expired this summer, so where are you waiting for?
Martijn Houtman
-- Pierre van Rooden Mediapark, C 107 tel. +31 (0)35 6772815 "Some Drink at the Fountain of Knowledge. Others Just Gurgle."
_______________________________________________ Developers mailing list [EMAIL PROTECTED] http://lists.mmbase.org/mailman/listinfo/developers
