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.

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

eZ debug

Timing: Jan 18 2025 10:37:38
Script start
Timing: Jan 18 2025 10:37:38
Module start 'layout'
Timing: Jan 18 2025 10:37:38
Module start 'content'
Timing: Jan 18 2025 10:37:39
Module end 'content'
Timing: Jan 18 2025 10:37:39
Script end

Main resources:

Total runtime0.6169 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.3516152.6250
Module start 'layout' 0.00600.0030 741.976639.4609
Module start 'content' 0.00900.6064 781.4375620.1797
Module end 'content' 0.61540.0015 1,401.617216.1563
Script end 0.6168  1,417.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5220160.0002
Check MTime0.00130.2135160.0001
Mysql Total
Database connection0.00080.125010.0008
Mysqli_queries0.562891.2376710.0079
Looping result0.00060.1039690.0000
Template Total0.588095.320.2940
Template load0.00200.330720.0010
Template processing0.585994.981820.2930
Template load and register function0.00020.024610.0002
states
state_id_array0.00110.182510.0011
state_identifier_array0.00100.167720.0005
Override
Cache load0.00170.2786220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.109430.0002
Fetch class attribute name0.00100.154990.0001
XML
Image XML parsing0.00090.142530.0003
class_abstraction
Instantiating content class attribute0.00000.0034100.0000
General
dbfile0.00090.1403220.0000
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs