emacs-pretest-bug
[Top][All Lists]
Advanced

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

Support transparent PNG image properly (was: problem with transparent PN


From: Leo
Subject: Support transparent PNG image properly (was: problem with transparent PNG image display)
Date: Sat, 16 Jun 2007 01:09:42 +0100
User-agent: Gnus/5.110007 Emacs 23 (20070611) MULE/6.0 (HANACHIRUSATO) Fedora 7 (gnu/linux)

----- Chris Moore (2007-01-10) wrote:-----

> Download this image and open it in Emacs:
>
>   
> http://tango-project.org/static/cvs/tango-art-tools/palettes/Tango-Palette.png
>
> 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 22.0.92.40 (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''

I wonder if the support of transparent PNG images can be added.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)





reply via email to

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