Re: Antialiased images in gnome-pixmap

We have a widget in Nautilus to do just this:

It can render an alpha composited image on an any background.

The widget itself has some dependencies on extensions code in Nautilus,
but if you are willing to use cut-n-paste technology you could use it.


Loban Rahman wrote:
> I'm using several gnome-pixmaps that load png files of images with alpha
> channels. However, when the gnome-pixmaps are displayed, the images lose
> their alpha channels, and hence aren't "antialiased". Making
> GnomeCanvasPixbuf's on a GnomeCanvas in aa mode keeps the png images'
> alpha-channels.
> Question:
> (1) Why don't gnome-pixmap's keep their images' alpha channels?
> (2) Is there a widget that I can use that doesn't have this problem?
> (3) What does the Gnome Panel use (it has antialiasing)?
> I'm using libglade, if that affects anything.
> Thanx.
> /-------------------------------------------------------------------\
> |   LOBAN AMAAN RAHMAN  <-- anagram of -->  AHA! AN ABNORMAL MAN!   |
> |  MSC #763, Caltech, Pasadena, CA 91126, USA. Tel: 1-626-395-1035  |
> |     loban earthling net, loban caltech edu,     |
> \-------------------------------------------------------------------/
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org

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