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.

eZ debug

Timing: Jan 18 2025 03:09:02
Script start
Timing: Jan 18 2025 03:09:02
Module start 'content'
Timing: Jan 18 2025 03:09:03
Module end 'content'
Timing: Jan 18 2025 03:09:03
Script end

Main resources:

Total runtime1.1164 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 588.8672180.8281
Module start 'content' 0.00840.9909 769.6953625.2578
Module end 'content' 0.99920.1171 1,394.9531341.0547
Script end 1.1163  1,736.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.3894210.0002
Check MTime0.00160.1440210.0001
Mysql Total
Database connection0.00160.143510.0016
Mysqli_queries1.039793.13102080.0050
Looping result0.00200.17902060.0000
Template Total1.086897.420.5434
Template load0.00200.177620.0010
Template processing1.084997.172220.5424
Template load and register function0.00040.033810.0004
states
state_id_array0.00090.076610.0009
state_identifier_array0.00110.099220.0006
Override
Cache load0.00170.1518220.0001
Sytem overhead
Fetch class attribute can translate value0.00130.120440.0003
Fetch class attribute name0.00170.149090.0002
XML
Image XML parsing0.00140.122840.0003
class_abstraction
Instantiating content class attribute0.00000.0024100.0000
General
dbfile0.00240.2142330.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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