Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
olagato
Post
by olagato » 2008-02-25T12:04:29-07:00
If someone knows eZ Publisher...
Is it possible to do this ImageMagick's filter in eZ ?
Code: Select all
convert foto.jpg ( logo.png -resize 50% ) -gravity southeast -compose Multiply -composite -mattecolor Tomato -frame 10x10+5+5 output.jpg
I'm trying this at "\settings\siteaccess\esl\image.ini.append.php" without success.
Filter is working on Windows Command Line.
I must use ImageMagick not GD.
I've already posted this at eZ forum:
http://ez.no/developer/forum/setup_desi ... #msg159664
olagato
Post
by olagato » 2008-02-26T10:03:49-07:00
SOLVED !!!
ImageMagick's "swap" command was the solution:
At "extension\ezwebin\design\ezwebin\override\templates\full\event.tpl" I wrote this:
Code: Select all
{attribute_view_gui attribute=$node.data_map.image image_class=medium lightbox_class=large}
"image_class=medium" is the style for the thumbnail image
"lightbox_class=large" is the style for for the big image with lightbox (clicked image)
At "settings\siteaccess\esl\image.ini.append.php" I wrote this:
Code: Select all
[ImageMagick]
Filters[]=pictoric_watermark=+swap -charcoal 1 -compose Multiply -gravity northeast -resize 60% -composite design/ezwebin_site/images/logo.png
Filters[]=watermark_resize_60=+swap -compose Multiply -gravity northeast -resize 60% -composite design/ezwebin_site/images/logo.png
Filters[]=watermark_resize_100=+swap -compose Multiply -gravity northeast -composite design/ezwebin_site/images/logo.png
[medium]
Reference=
Filters[]
Filters[]=watermark_resize_60
[large]
Reference=
Filters[]
Filters[]=compo_resize_100
Users browsing this forum: Bing [Bot] , Majestic-12 [Bot] , Semrush [Bot] and 8 guests