Forums / Developer / Image Magick transparency problem

Image Magick transparency problem

Author Message

Brendan Pike

Saturday 10 May 2003 5:19:03 am

Has anyone else experienced trouble with uploading transparent gifs? I think it may be a global setting somewhere but I am unable to find it. Any transparent gif that is uploaded has its transparency colour replaced with solid black.

Anyone have knowledge of this??

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Marco Zinn

Saturday 10 May 2003 7:35:27 am

I didn't have any problems with transparents GIFs, using ImageMagick in ezP 2.2.

Really sounds like an imagemagick (configuration) problem.

Marco
http://www.hyperroad-design.com

Brendan Pike

Saturday 10 May 2003 7:52:57 am

And are you familar with its settings? I looked in /etc/magic but there wasn't anything in there.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Tony Wood

Sunday 11 May 2003 2:10:09 am

Yes, we have that problem too. Even when you fix image.ini so it doesn't convert everything to png's. It appears not to convert them correctly.

re: png issue http://ez.no/developer/ez_publish_3/bug_reports/gif_images_converted_to_png_incorrectly

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

Brendan Pike

Sunday 11 May 2003 8:13:40 am

Strange but my image.ini settings didn't have the settings the bug report added but it was still converting gifs to gifs. My problem is only the transparency which I have still not solved yet.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Tony Wood

Sunday 11 May 2003 12:26:36 pm

Strange... Well i'm gald its not that... I've taken a read of the ImageMagick site and it look like convert supports it... Have you tried converting the gif from the command lline to see if its Imagemagick or eZ parameters that are causing the problem

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

Brendan Pike

Sunday 11 May 2003 5:54:15 pm

Oops, rather embarrasing. It was as you suggested the incorrect image settings in image.ini, but I failed to noticed image.ini.php *blush*, I was also thrown off because the converted image extension did say .gif but when you look at the code of the image it was infact a png. So thank you for your help, works well now :)

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.