Skip to content

Image Magic

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1722
    sanbar1
    Member

    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.

    #2082
    jo
    Member

    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

    #2083
    sanbar1
    Member

    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.

    #2085
    jo
    Member

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.