Hi

I'm working on a small viewer application for viewing my jpeg pics.

I order to speed things up a bit, I want to cache some of the images 
I work with within the application. 
I need a method to return the amount of memory the image 
(System.Drawing.Image) uses.
How do I do that?
An other thing I have see while working on this is the difference in 
the size of the compressed jpeg image and the memeory used when the 
image is displayed in a PictureBox 
(System.Windows.Forms.PictureBox). 
The strange thing is that it uses way more memory that e.g. the 
Microsoft explorer does when displaying the same image scaled to the 
same size as my application. 
Any smart things to do in order to save memory while displaying 
images in an application.

Thanks 

/Anders





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/XGgtlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to