Bitmap handling since 2.70

Pantelis

Member
Licensed User
Longtime User
Hi all.
Since V2.70 there is this change.
Bitmaps handling improved - LoadBitmap / LoadBitmapSample internally handle out of memory errors by down-scaling the image. The visual designer loads images based on the target size to preserve memory.

What exactly this handling do to the bitmap? Loads images bases on the target size (what target size?)

I have a button and i want to add a bitmap to it with the designer.
Based on the this new bitmap handling, if the dimensions of the button are 40 by 40 dip what must be the resolution of the bitmap for this button so that it look OK on any device with differents resolutions and scales?
 
Top