It was already metioned in the D7 issue, but I am opening a new issue specially for this.

Rounded corners in the latest dev version are not working. Tested both in FF en IE.

Comments

Alexander Matveev’s picture

Have the same. They worked until I added some more actions.

joostvdl’s picture

subscribe

dman’s picture

StatusFileSize
new137.1 KB
new121.05 KB



Drupal 7-dev
imagecache_actions 7-dev
GD toolkit.

Need more info about what's not working for you. Looks ok to me so far

eu.claudio’s picture

same 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.

dman’s picture

with 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.

fuse’s picture

Problem 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.

fuse’s picture

Status: Active » Closed (works as designed)

Problem 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.

mattez’s picture

carvalhar’s picture

converting to png works ok.
just adding a note: dev 7.x now call it "Change file format"

Anonymous’s picture

Thanks! Confirmed that converting to PNG first does fix this.

quinns’s picture

StatusFileSize
new86.28 KB

I 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).

fietserwin’s picture

Yes, 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.

jaypan’s picture

Issue summary: View changes

I 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.