Closed (works as designed)
Project:
ImageCache Actions
Version:
7.x-1.x-dev
Component:
Canvas Actions Module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2011 at 15:42 UTC
Updated:
14 Dec 2015 at 06:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Alexander Matveev commentedHave the same. They worked until I added some more actions.
Comment #2
joostvdl commentedsubscribe
Comment #3
dman commentedDrupal 7-dev
imagecache_actions 7-dev
GD toolkit.
Need more info about what's not working for you. Looks ok to me so far
Comment #4
eu.claudio commentedsame here.
The preview at admin/config/media/image-styles/edit/ shows correct but with real images it doesn't apply round corners.
I'm using latest 7.x-1.x-dev of 2011-Feb-25.
Comment #5
dman commentedwith real images it doesn't apply round corners
That's an interesting hint. There could be something there.
Are the images huge>
The rounded corner algorithm is non-native code, it has to go and calculate pixels for every point on the image. for that reason, I wouldn't recommend it on images bigger than - say - 1200x1200 or you are likely to max out some processing.
Comment #6
fuse commentedProblem still exists.
Just checked my images and the original files are not bigger then 560px, so in my case it doesn't have anything to do with the size of the images.
Comment #7
fuse commentedProblem solved: to get the rounded corners working, first convert image to png. See documentation for more info:
Convert the image to PNG (using the coloractions filter for that)Changed status to closed.
Comment #8
mattez commented.... as shown here: http://drupalcode.org/project/imagecache_actions.git/blob_plain/HEAD:/do...
Comment #9
carvalhar commentedconverting to png works ok.
just adding a note: dev 7.x now call it "Change file format"
Comment #10
Anonymous (not verified) commentedThanks! Confirmed that converting to PNG first does fix this.
Comment #11
quinns commentedI was having trouble with this too. I needed my rounded-corner images to ultimately be JPG format. Even if I added "convert to JPG" as the last step, the rounded corners were lost. I found that by adding "Alpha Transparency" (Opacity: 1, background color: FFFFFF, flatten transparency) as the second-to-last step, I was able to get faux rounded corners on my JPG output (matted to a white background).
Comment #12
fietserwinYes, this is because rounded corners are implemented by setting the corners to fully transparent, which in itself does not remove the original color. So when converting to jpg, the transparency channel is used to blend the original pixels with any lower layers. If lower layers are absent, the original pixel is thus restored. This could also have been solved by defining a (in your case white) canvas behind the original image.
Comment #13
jaypanI was having troubles finding the file conversion setting. For anyone having that issue, you need to enable the Imagecache Coloractions module before this option becomes available.