Hi
I am getting the error "exit value = 1" when the following command is executed via a java application. The same code runs fine when run on the command line.
/opt/local/bin/convert /Library/WebServer/Documents/uploads/logo.jpg -debug all -resize 150x150\> /Library/WebServer/Documents/images/members/logos/logo.jpg
the following commands works fine
/opt/local/bin/convert /Library/WebServer/Documents/cropped/open-hand-2.jpg -quality 100% /Library/WebServer/Documents/images/members/open-hand-2.jpg
I have checked permissions on both output directories and they are fine - are there any options for increasing the debugging output in order to determine what may be the culprit here? I'm running 6.5.2-7 of ImageMagick.
exit value = 1
Re: exit value = 1
You can get copious debugging output with this option: -debug all,trace.
Re: exit value = 1
Thanks for your response.
Unfortunately adding the ,trace command caused the whole app to hang - no response was returned from the exec call. Are there settings or properties that allow me to specify logging location?
Unfortunately adding the ,trace command caused the whole app to hang - no response was returned from the exec call. Are there settings or properties that allow me to specify logging location?
Re: exit value = 1
You can customize logging by modifying the log.xml configuration file.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: exit value = 1
You could be able to copy the log.xml file to a ".magick" sub-directory in your home. That way you don't change the system file, and your change stays in effect after IM upgrades.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/