nanogui: PNG and transparency
Subject:
[nanogui] PNG and transparency
From:
BRACH Vincent ####@####.####
Date:
23 Jul 2009 14:55:29 -0000
Message-Id: <1248360945.4906.57.camel@zoul.intranet.smie.com>
Hello,
I try to draw transparency PNG images in my nano-X application but all
the time the transparency's part of it is displayed in black..
I tried to display it on an window created by
GrNewWindow(GR_ROOT_WINDOW_ID, 0, 0, 480, 640, 0, WHITE, BLACK);
I tried with GrLoadImageFromFile plus GrDrawImageToFit and with
GrDrawImageFromFile too, and same result.
When I convert this image in .xpm and use the same code (just changing
th extension of the file to load) everything gonna be ok.
Can anybody help me please ?
Regards,
Vincent BRACH