[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with transparent PNG image display

From: Chris Moore
Subject: problem with transparent PNG image display
Date: Wed, 10 Jan 2007 01:49:59 +0100

Download this image and open it in Emacs:


The image has lots of transparent pixels.  Using M-x
set-background-colour RET and you'll see the background of the image
changes with the background.

Now use 'convert' from ImageMagick to make a copy of the image:

  $ convert Tango-Palette.png Tango-Palette-copy.png

Open the new copy in Emacs and the transparent pixels show up as white
pixels.  Open the copy in The GIMP or gqview and you can see that the
background really is still transparent.

I'm using this version of convert:

  Version: ImageMagick 6.2.4 12/13/06 Q16 http://www.imagemagick.org
  Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-01-09 on trpaslik
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--with-gtk' '--prefix' '/usr/local' '--with-xpm' 
'--with-jpeg' '--with-png' '--with-gif''

reply via email to

[Prev in Thread] Current Thread [Next in Thread]