CommandException: return code: 3

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Posts: 1
Joined: 2016-06-22T09:04:21-07:00
Authentication code: 1151

CommandException: return code: 3

Post by Chady » 2016-06-22T09:08:08-07:00

I am converting .tif images to .jpeg format and getting the following exception for several images:

org.im4java.utils.BatchConverter$ConvertException: org.im4java.core.CommandException: return code: 3
at org.im4java.utils.BatchConverter.addException(
at org.im4java.utils.BatchConverter.processTerminated(
at org.im4java.process.ProcessStarter.runAndNotify(
at org.im4java.process.ProcessTask$
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRun(
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: org.im4java.core.CommandException: return code: 3
at org.im4java.core.ImageCommand.finished(
at org.im4java.process.ProcessStarter.runAndNotify(
... 7 more

What does return code: 3 mean? I hope someone can help me.

Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: CommandException: return code: 3

Post by Bonzo » 2016-06-23T07:55:19-07:00

I would check to see if the error code comes from the org.im4java.utils.BatchConverter code

Post Reply