Forums / Developer / Problem with ImageMagick

Problem with ImageMagick

Author Message

Romain Bremaud

Friday 10 December 2010 7:26:07 am

Hello everybody,

I would like to work with ImageMagick

My image.ini.append.override :

[ImageMagick]
IsEnabled=true
Executable=convert.exe

[PUB_full]
Reference=
Filters[]
Filters[]=geometry/scalewidth=140
[MIMETypeSettings]
Quality[]=image/jpeg;90

In my debug outpout : I have the following error :

Warning: eZImageShellHandler::convert Failed executing: ""convert" "-quality" "90" "-geometry" "140" "var/my_site/storage/test/test.jpg" "JPEG:var/my_site/storage/test/test_PUB_full.jpg"", Error code: 1
Error: eZImageManager::createImageAlias                   
Failed converting var/my_site/storage/test/test.jpg to alias 'PUB_full' in directory 'var/my_site/storage/test'

If in the command line I execute the following command :

convert -quality 90 -geometry 140 var/my_site/storage/test/test.jpg JPEG:var/my_site/storage/test/test_PUB_full.jpg

It's works ...

I think it is a problem a chmod folder rights. But I work in local on a windows 7 environnement and I don't know how to change the rights.

I need your help.

Thanks in advance.

Romain

Romain Bremaud
Les clefs du net

Ivo Lukac

Saturday 11 December 2010 2:36:39 am

Check this thread: http://share.ez.no/forums/developer/failed-executing-c-windows-imagemagick-convert.exe

Similar problem.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Romain Bremaud

Monday 13 December 2010 4:01:50 am

Thanks Ivo for your help.

But I have read this topic before. And I tried to re-install imagemagick but it doesn't work :(

...

Romain Bremaud
Les clefs du net