Newbie..2 bytes stored RGB images...
- From: buka ikmultimedia com
- To: gtk-app-devel-list gnome org
- Cc:
- Subject: Newbie..2 bytes stored RGB images...
- Date: Sat, 17 Nov 2001 13:03:54 -0600
Hi there, i've just started using GTK/GDK to port an existing app to linux.
The app use RGB IMAGES (ex. 4x4 pixel area) stored in memory using
2 BYTES PER PIXEL:
[5 bits][5 bits][5 bits][1 unused bit]
RED GREEN BLUE
or, if you prefer:
Byte0 Byte1
0123456701234567
rrrrrgggggbbbbb-
Is there an easy way to DISPLAY this kind of 'images' in GDK/GTK ?
TIA
l.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]