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

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

eZ debug

Timing: Jan 29 2025 23:49:21
Script start
Timing: Jan 29 2025 23:49:21
Module start 'layout'
Timing: Jan 29 2025 23:49:21
Module start 'content'
Timing: Jan 29 2025 23:49:21
Module end 'content'
Timing: Jan 29 2025 23:49:21
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1328151.2109
Module start 'layout' 0.00470.0029 739.343836.6563
Module start 'content' 0.00750.0056 776.000090.2813
Module end 'content' 0.01310.0013 866.281333.9766
Script end 0.0144  900.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002214.9763140.0002
Check MTime0.00106.9943140.0001
Mysql Total
Database connection0.00075.035610.0007
Mysqli_queries0.002718.385130.0009
Looping result0.00000.090810.0000
Template Total0.00096.510.0009
Template load0.00074.924910.0007
Template processing0.00021.522710.0002
Override
Cache load0.00053.415410.0005
General
dbfile0.002215.478480.0003
String conversion0.00000.033040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs