nanogui: Thread: Reading and Displaying the Bitmap at Run Time


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Reading and Displaying the Bitmap at Run Time
From: "krishnan" ####@####.####
Date: 2 Dec 2000 08:49:56 -0000
Message-Id: <00eb01c05c3d$3b84e720$8364a8c0@woi.com>

Dear  Greg,

        I am developing an VC++ application and trying to port the
application to Linux using Microwindows. The main function of the
application is displaying  Bitmaps ( size 300kb each) on different screens.A
set of  minimum 30 Bitmaps will be used .The sample VC++ program ( Mine
Game ) available in microwindows-0.89pre6.tar.gz  is storing the Bitmap
information to the final binary .

 The problem i am facing is just by including Two Bitmaps the size of the
binary raises to 0.7MB.Is there any way i can read the Bitmaps at runtime
and Display the Bitmap so that the binary size can be reduced.Do
Microwindows supports the above functionality.

Best Regards
Krishnan



Subject: Re: Reading and Displaying the Bitmap at Run Time
From: "Greg Haerr" ####@####.####
Date: 3 Dec 2000 17:50:35 -0000
Message-Id: <07ce01c05d51$da3f75a0$15320cd0@gregh>

:  The problem i am facing is just by including Two Bitmaps the size of the
: binary raises to 0.7MB.Is there any way i can read the Bitmaps at runtime
: and Display the Bitmap so that the binary size can be reduced.Do
: Microwindows supports the above functionality.


Yes, you can use the GdDrawImageFromFile et al functions.  Rather
than developing a new API, you can #include "device.h" and then just
call the function directly, since win32 programs are always linked with
the server.

Regards,

Greg


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.