Is gd unable to convert GIF to PNG?

Author Message

Lars Arne Brekken

Tuesday 08 July 2003 3:50:40 am

Hi

I'm using gd (can't make imagemagick work), and know that it's unable to save images as GIFs.

Jpeg works for me, but gif doesn't. Is gd unable to convert gif to png?

I've set my image.ini like this:
UseConvert=false
UseGD=true

AvailableMimeTypes=image/jpeg;image/png

Rules[]=image/gif;image/png;gd

Types[]=image/gif;\.gif$;gif

Tony Wood

Tuesday 08 July 2003 5:00:33 am

I had this with ImageMagick.

http://ez.no/developer/ez_publish_3/bug_reports/gif_images_converted_to_png_incorrectly

Reports the problem, and offer a solution that I used as PNG do not display correctly on Mac.

An interesting thing is that now GIFs are out of patent, i wonder how this will affect the future of PNG?

--
I hope this helps

tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Lars Arne Brekken

Wednesday 09 July 2003 6:56:08 am

It seems like gd is unable to convert GIFs.

I solved my problem by making convert work, and let it do the GIFs.

I'm not sure why convert hasn't worked before, but I suspect that I forgot to add image/gif to AvailableMimeTypes.

Lars

Tony Wood

Friday 25 July 2003 9:47:08 am

Hey Lars,

I got a problem similar today, it appears 3.1 cannot use ImageMagick when converting gif to gif, you need to keep the default of converting gifs to pngs.

Rules[]=image/gif;image/png;convert

instead of my preferred

Rules[]=image/gif;image/gif;convert

This is a shame as it worked no problem in 3.0, well its only a problem if you are using large images on a mac, which has a real problem with large png images..

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.