Rounded corners on images

Author Message

Sébastien Antoniotti

Tuesday 02 June 2009 11:39:01 am

Hi,

I would like to reproduce commands to get rounded and transparent corners :
http://www.imagemagick.org/Usage/thumbnails/#rounded_border

But I don't success with translation of this :

convert thumbnail.gif -matte -bordercolor none -border 2  \
          rounded_corner_mask.png -compose DstIn -composite \
          rounded_corner_overlay.png -compose Over -composite \
          rounded_border.png

into an eZ Publish filter for the image.ini [ImageMagick] section.

Some ideas ?

eZ Publish Freelance
web : http://www.webaxis.fr

Luis Micunco

Friday 12 June 2009 5:29:44 am

Hi,
I got some troubles while trying to overlay an image over the original ones by using a filter.
I posted here:
http://ez.no/developer/forum/developer/imagemagick_dst_over_problem

Basically the "mask" image overlays correctly over the original, but then it automatically crops the result image to the size of the mask.
any ideas? Thanks in advance

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