Dear All,rnrnI have run one of the example file. But I cannot get the image. I faced with following error.rnrn[ImageWriter] Error: ImageMagick resize command failedrnrnThe version of the program I used is +ImageMagick-6.4.6.9-intel-11.1. How can I fix the problem? Thanks.
Dear sanbar1,rnrn Is image Magick working correctly? You can check that by “”convert -resize ‘sizeX’ ‘sizeY’ ‘fileName’.ppm ‘fName’.gif”” replacing ‘..’ by your own choice. Which system are you using? Check the names of the directories you are using. Then, also check what the function “”system”” (cf. http://www.cplusplus.com/reference/clibrary/cstdlib/system/) returns one your system and if necessary change the code in “”imageWriter.hh””.rnrnKind regardsrnJo
Dear Jo,rnrnSorry for late reply. Since I was away from school, I did not have opportunity to look. I have checked the system. The return value is 0. Also, I have put some values for sizeX and sizeY. I have faced with same error. I am using x86_64-redhat-linux. Do you have any idea what is wrong. Thanks.
Dear Sanbar1,rnrn Please, check first if mageMagick is working fine on your system by entering “”convert -resize ‘sizeX’ ‘sizeY’ ‘fileName’.ppm ‘fName’.gif”” on your command line replacing ‘..’ by your own choices. rnrnJo
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok