[Kde-games-devel] TR: cmp-toolkits

Philippe FREMY kde-games-devel@mail.kde.org
Fri, 12 Apr 2002 14:12:59 +0200


I don't have time to look at the answer by myself.
Do you guys have an idea ?


> -----Message d'origine-----
> De : Ruben Oliveira [mailto:rsolivei@ualg.pt]
> Envoy=E9 : jeudi 11 avril 2002 20:20
> =C0 : Philippe FREMY
> Objet : Re: cmp-toolkits
>=20
>=20
> Hi Philippe FREMY
>=20
> I have a question that maybe you can answer me.
> I have a problem with pygtk and i'm starting to see if a pyQt
> implementation is better. The problem is that i have a=20
> grayscale pixmap
> that uses about 80 Mb because it's about 10000x8000 and I=20
> have to display it
> in the background and then draw some polygons or text, so i'm using=20
> gnomecanvas
> the problem is that havoc penington says that the canvas=20
> images have  to=20
> be always RGB
> and because of that i have to use a minimum of 250 Mb of RAM. He also =

> says that in
> the future the Canvas will acept other bit depths. :(
> I know that I can load pixmap into a QCanvas and i know that there is
> a QBitmap in Qt so maybe you know what's the implementation of the Qt
> libraries and could give me an advice to not waste so much memory.
> Is it possible to use a grayscale pixmap in QCanvas ?
>=20
> Merci,
> Ruben Oliveira
>=20