nanogui: Thread: display bmp image


[<<] [<] Page 1 of 1 [>] [>>]
Subject: display bmp image
From: pushparaj muthu ####@####.####
Date: 17 Dec 2007 15:27:20 +0000
Message-Id: <1197905213.4766953dc6e30@mail.sify.com>

   
Hi 

I try to display multiple bmp images by using
GdLoadImageFromFile nano-X API one after another.

It displays image one after another but it takes more time to display image. 

Performance of display image is not good. How to improve performance of displaying bmp image.

Regards
Raj
Subject: Re: [nanogui] display bmp image
From: "Greg Haerr" ####@####.####
Date: 18 Dec 2007 19:46:20 +0000
Message-Id: <2bc801c841ae$98992f30$6401a8c0@winXP>

: GdLoadImageFromFile nano-X API one after another.
: Performance of display image is not good. How to improve performance of 
displaying bmp image.

Option 1: Try using .png, .jpg or .gif files instead
Option 2: Draw the images into an offscreen pixmap (GrNewPixmap), then
GrCopyArea them to the screen.  This will only be quicker if the images
are displayed more than once.

Regards,

Greg

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


Powered by ezmlm-browse 0.20.