Page 1 of 1

Problems with convert in Centos 5.6 64 bit

Posted: 2011-09-08T11:57:46-07:00
by ljm62
I have run into a weird problem. I have multiple machines running Centos 5.6 x86_64 and one running Centos 5.6 i686. both have IM 6.2.8. When I run:
convert FAA_AWU_icg_ced.gif -transparent #ffffff FAA_AWU_icg_ced_trans.gif
on the 32 bit machine I get the new file with the alpha channel for white set to transparent. The same command on the x86_64 machines acts like it runs, but I get no error messages and no new file. Other convert options such as resize work on both systems.

Do more recent versions of IM work under x86_64 because 6.2.8 is failing me big time.

Re: Problems with convert in Centos 5.6 64 bit

Posted: 2011-09-08T11:59:11-07:00
by fmw42
I don't believe that there is a version 2.6.8. Do you mean 6.2.6.8? Even that is very old.

The IM developers will need to work with you on your 64-bit issue.

Re: Problems with convert in Centos 5.6 64 bit

Posted: 2011-09-08T12:04:59-07:00
by ljm62
Yeah, wrong version... 6.2.8

Re: Problems with convert in Centos 5.6 64 bit

Posted: 2011-09-08T12:21:02-07:00
by magick
We recommend the following, assuming you have install privileges:
This gives you the latest release of ImageMagick with all its bug fixes and enhancements over your release of 6.2.8.

Re: Problems with convert in Centos 5.6 64 bit

Posted: 2011-09-08T14:41:25-07:00
by ljm62
It has to be a problem with one of the 64 bit Centos libraries. I compiled 6.7.2-3 and got the same results on both machines. The 32 bit worked great and the 64 bit didn't. In fact both 6.2.8 and 6.7.2 in 64 bit were taking

convert file.gif -transparent #ffffff newfile.gif
or
convert file.gif -fill #00000000 -opaque #ffffff newfile.gi

and making a new file -transparent or -fill that is 8 bits large than the original gif, but looks just like the original gif when displayed.