-
1. Re: s:graphicImage and gif
kosl Feb 24, 2008 5:30 PM (in response to damianharvey.damianharvey.gmail.com)I have exactly the same problem...
-
2. Re: s:graphicImage and gif
shane.bryzak Feb 25, 2008 12:53 AM (in response to damianharvey.damianharvey.gmail.com)The h:graphicImage tag uses ImageIO (from the javax.imageio) package) for image manipulation. As far as I recall, ImageIO does not support writing GIFs because of the issue with the unisys patent a few years ago.
After a little Googling I find this link:
-
3. Re: s:graphicImage and gif
damianharvey.damianharvey.gmail.com Feb 25, 2008 10:03 AM (in response to damianharvey.damianharvey.gmail.com)Ah, cheers Shane. We'll have to wait for Java 6 then. Unless of course Seam wants to support GIFs by using a library such as one of those listed here. It's a very minor issue for me but maybe someone has a more urgent need?
Maybe the docs should remove reference to supporting GIFs until then?
Cheers,
Damian.
-
4. Re: s:graphicImage and gif
damianharvey.damianharvey.gmail.com Feb 25, 2008 10:14 AM (in response to damianharvey.damianharvey.gmail.com)Actually, as s:graphicImage is just an extension of h:graphicImage wouldn't it make sense to just handle GIFs as per h:graphicImage? ie. no transformation.
-
5. Re: s:graphicImage and gif
pmuir Feb 26, 2008 12:03 AM (in response to damianharvey.damianharvey.gmail.com)Either using a library (assuming license compatibility) or updating the docs would be fine by me.
I don't really like s:graphicImage (I like the concept, I don't like the implementation - it needs to be more component orientated I think) so if anyone feels like helping out and giving it some TLC...
-
6. Re: s:graphicImage and gif
t1mb0 Apr 14, 2008 11:54 PM (in response to damianharvey.damianharvey.gmail.com)has there been any progress on this issue? It would be really nice to be able to display gifs with s:graphicImage, just like you can with h:graphicImage....
Tim
-
7. Re: s:graphicImage and gif
loveseam Apr 29, 2008 10:17 AM (in response to damianharvey.damianharvey.gmail.com)I have tried
jboss-seam-2.0.2.CR1
, it DO support showing gif!
I think your meaning is that s:graphicImage does not support transforming gif.You can transform the gif image,then show it.
There are some plugins an tools:
tool:photoshop,
plugin:fmsware-gif.jar.