Closed (won't fix)
Project:
ImageCache Actions
Version:
6.x-1.x-dev
Component:
Canvas Actions Module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2011 at 17:49 UTC
Updated:
18 Mar 2016 at 18:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
claudiu.cristeaRunning the same actions on PHP 5.3 with GD 2 - no warnings in admin/reports/status
Same behavior with corners. See attached image.
Comment #2
claudiu.cristeaComment #3
claudiu.cristeaIt seems that this is affecting corners where the cut is on transparent area
Comment #4
claudiu.cristeaThe bug consist in use of variable $rgba instead of $color. I added also a little performance improvement by checking if $color['alpha'] is not 127 and process pixels opacity only in that case. Otherwise pass 127.
Comment #5
InTheLyonsDen commentedI'm having the same issue with D7. Has anyone (or could anyone) adapt this patch for D7? Thanks!
Comment #6
dman commentedI can replicate in D7.
I can confirm that the patch (applied by hand to D7) does fix it.
So cool. Thanks.
I can see why rounded corners on transparent input would not have been a test case :-)
#4 by claudiu.cristea, is now applied to D7-dev
http://drupal.org/commitlog/commit/6286/6158e6caadcaba8edbf5103483638900...
Raw patch for D7 here
http://drupalcode.org/project/imagecache_actions.git/blobdiff_plain/7544...
Comment #7
dman commentedFix is only in -dev (not a stable yet) but I'll flag it as nominally done, there's a bunch of things in the queue I've got to chew through.
Comment #8
claudiu.cristeaPlease commit also to D6. It's from April 2011! That patch is on production from then.
Comment #9
claudiu.cristeaComment #10
InTheLyonsDen commentedThe new dev version works great. I did have to resave the presets that were utilizing the rounded corners which is logical. Thank you!
Comment #11
claudiu.cristeaI'm glad that works but, as finder of bug and author of patch, I would be very happy to have it pushed also in 6.x-1.x branch :-) It was applied and is successfully working on big production site since April 2011.
Thanks!
Comment #12
dman commentedSure. I can push that in to D6 no problem.
It was just about what versions of code I had open this week. TODO.
Comment #13
rsvelko commentedfound this one after 2 hours googling... should've searched the issue queue as usual...
keywords:
php rounded corners black
drupal imagecache rounded corners black
Comment #14
fietserwinD6 EOL. This module's D6 issues already haven't received any attention for over a year. Closing them all unconditionally now.