Does im4java current version 1.4.0 supports ImageMagick 7.1.0-3 ??
The older versions used convert, but it seems with 7.1 /usr/bin/convert is a link, and the actual command is magick, i personally think BOTH should work and we have backward compatibility for im4java with regards to versions of ImageMagick. but since the upgrade, i get the following exception:
Caused by: org.im4java.core.CommandException: org.im4java.core.CommandException: magick: no images for write '-write' '/data/digitalEvidence/78c8d5bb-0000-49e6-a8f0-33a79ea86004/10000070/0.PDF' at CLI arg 3 @ error/operation.c/CLINoImageOperator/4730.
at org.im4java.core.ImageCommand.run(ImageCommand.java:215)
at gov.dhs.uscis.elis2.digitalevidence.backend.factoryImpl.ConversionFileRetrievalServiceImpl.getFilePageCount(ConversionFileRetrievalServiceImpl.java:119)
... 23 more
Caused by: org.im4java.core.CommandException: magick: no images for write '-write' '/data/digitalEvidence/78c8d5bb-0000-49e6-a8f0-33a79ea86004/10000070/0.PDF' at CLI arg 3 @ error/operation.c/CLINoImageOperator/4730.
at org.im4java.core.ImageCommand.finished(ImageCommand.java:249)
at org.im4java.process.ProcessStarter.run(ProcessStarter.java:314)
at org.im4java.core.ImageCommand.run(ImageCommand.java:211)
... 24 more
org.im4java.core.CommandException: magick: no images for write '-write'
-
- Posts: 13
- Joined: 2016-05-06T14:25:33-07:00
- Authentication code: 1151
-
- Posts: 13
- Joined: 2016-05-06T14:25:33-07:00
- Authentication code: 1151
Re: org.im4java.core.CommandException: magick: no images for write '-write'
i upgraded ImageMagick from 6.7.2.7-2.el6 to 7.0.1-3
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: org.im4java.core.CommandException: magick: no images for write '-write'
What is the command that is being executed? V7 has a stricter syntax checker than v6. In addition, there are a small number of changes.
EDIT: I should add, there have been many other changes since 6.7.2.
EDIT: I should add, there have been many other changes since 6.7.2.
snibgo's IM pages: im.snibgo.com
-
- Posts: 13
- Joined: 2016-05-06T14:25:33-07:00
- Authentication code: 1151
Re: org.im4java.core.CommandException: magick: no images for write '-write'
the command "identify" is being executed
plus im4java-1.2.0.jar is being used, i am upgrading the jar to 1.4.0 now. But not sure if that will solve the problem
plus im4java-1.2.0.jar is being used, i am upgrading the jar to 1.4.0 now. But not sure if that will solve the problem