c# - RAM saving when loading many Bitmap objects -


Is there any difference when you load the same image in bitmap from BMP or PNG (or other format)? What is the effect in the original image format bitmap object size in RAM?

Is there a way to store bitmap objects to consume less RAM resources?

The size is affected by the size of the file only, regardless of the format (but of course, definite As a result of smaller files compared to other files).

One way to store bitmaps, if you need to keep them in bitmap, then zip them, alternatively, convert them into another image format, in which compression (Ideally, lossless compression is not JPG). Sorry, it was being understood to store files, not to conserve live memory usage.

By using memory to prevent bitmap objects, you will need to leave the item in memory and reload it again when you want to use it again, alternatively, Have no experience, see the new .NET 4 memory mapped files.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -