Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Error in EPS thumbnail process steps


Level 2

Hi All,

I have uploaded a EPS file in DAM , the DAM update Asset workflow runs on image upload.
For eps file i am getting an error :
30.06.2016 17:44:40.769 *ERROR* [JobHandler: /etc/workflow/instances/server0/2016-06-30/model_531998837298215:/content/dam/xxx/yyy/zzz/digital/1st%20Source%20Elite_flat-black.eps/jcr:content/renditions/original] execute: failed to execute command [convert -define jpeg:size=319x319 1st%20Source%20Elite_flat-black.eps -thumbnail 319x319 cq5dam.thumbnail.319.319.png] for asset [/content/dam/xxx/yyy/zzz/digital/1st%20Source%20Elite_flat-black.eps]: 
org.apache.commons.exec.ExecuteException: Process exited with an error: 4(Exit value: 4)
at org.apache.commons.exec.DefaultExecutor.executeInternal(
at org.apache.commons.exec.DefaultExecutor.execute(
at org.apache.commons.exec.DefaultExecutor.execute(
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(
at com.adobe.granite.workflow.core.job.JobHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
ImageMagick is Installed in my system and i am able to convert an eps file to png by running command   convert -define jpeg:size=319x319 1st%20Source%20Elite_flat-black.eps -thumbnail 319x319 cq5dam.thumbnail.319.319.png which is the same command that the process steps use.
Please let me if anybody faced similar issue or any pointer to this
3 Replies



Please check the configuration of the workflow as explained in Line Based Media Handler

it should be something like convert -define jpeg:size=319x319 ${directory}/${filename} -thumbnail 319x319 ${directory}/cq5dam.thumbnail.319.319.png

I think that it need absolute path to the image


Level 9

Hi Yesh,

Provide full path for convert & sounds like the installation path of ImageMagick is not in your system library path.



Level 1

Try writing "magick" before the command. (just before convert)

It worked for me on windows