[magick-users] convert gif to png, and lost transparency
zentara
zentara1 at sbcglobal.net
Fri Dec 19 08:10:04 PST 2008
On Fri, 19 Dec 2008 10:53:10 -0500
zentara <zentara1 at sbcglobal.net> wrote:
>On Fri, 19 Dec 2008 08:43:16 -0700
>Bob Meetin <bobm at dottedi.biz> wrote:
>
>>~/Desktop/imagemagick> convert powerlogo.gif powerlogo.png
>>~/Desktop/imagemagick> ls -l power*
>>-rw-r--r-- 1 panic panic 5279 2008-12-19 08:38 powerlogo.gif
>>-rw-r--r-- 1 panic panic 4797 2008-12-19 08:39 powerlogo.png
>>~/Desktop/imagemagick>
>>
>>I looked at the images and the png has retained transparency. Can you put up a link to what you got back, perhaps use identify to check the version of Imagemagick?
>>
>Hi, I'm using the latest IM 6.4.7-4
>and your simple convert gives me a grey background in the png.
>
>Why Perl works, and convert dosn't, I don't know why?
>
>zentara
After a bit of experimenting I found this convert syntax works:
convert powerlogo.gif -transparent black output-shell.png
but this dosn't, it gives a black bg
convert powerlogo.gif -transparent-color black output-shell.png
and
convert powerlogo.gif output-shell.png
gives a grey bg
Using IM 6.4.7-4 on linux, compiled from source.
zentara
--
I'm not really a human, but I play one on earth.
http://zentara.net/Remember_How_Lucky_You_Are.html
More information about the Magick-users
mailing list