[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] bad resolution on designer imported PNGs
From: Hans-Peter Jansen <hpj () urpla ! net>
Date: 2002-07-24 16:12:55
[Download RAW message or body]
On Wednesday 24 July 2002 15:09, Willi Richert wrote:
> Hi,
>
> After the hint with the handling of semi-transparent XPM problems I loaded
> that png into gimp and saved it as an xpm. After that the generated
> xpm-code could be easily imported into python:
Was there, done that...
> static char * back[] = { ... } /* C-style */
> imgBack = [ ... ] # Python-style
>
> And it looks nice now!
But the semi-transparent shadow disappeared.
> Btw, it is also only 0.4 of the original size.
because max. 256 colors remained.
If this is fine for you, okay, but for some icons, it doesn't
fulfil my personal demands ;-)
> Have fun,
> willi
Dito,
Hans-Peter
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic