[PyKDE] bad resolution on designer imported PNGs
    Hans-Peter Jansen 
    hpj at urpla.net
       
    Sun Jul 28 12:10:23 BST 2002
    
    
  
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
    
    
More information about the PyQt
mailing list