P Pantelis Member Licensed User Longtime User Jun 4, 2013 #1 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. Click to expand... 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?
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. Click to expand... 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?
Erel B4X founder Staff member Licensed User Longtime User Jun 5, 2013 #2 The visual designer loads images based on the target size to preserve memory. Click to expand... This sentence is no longer correct. This feature was removed in v2.71. Upvote 0
The visual designer loads images based on the target size to preserve memory. Click to expand... This sentence is no longer correct. This feature was removed in v2.71.