hub73 Active Member Licensed User Longtime User Dec 28, 2015 #1 Hi ! - Is there a way to check with code that b4a is downsampling an image ? - Is it possible to set off this downsampling or know the previous image width and height. Many thanks !
Hi ! - Is there a way to check with code that b4a is downsampling an image ? - Is it possible to set off this downsampling or know the previous image width and height. Many thanks !
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2015 #2 Downsampling happens when there isn't enough memory to load the bitmap. Instead of crashing the process it tries to downsample the image. You should avoid loading large images with LoadBitmap. Instead load them with LoadBitmapSample. Otherwise a single image can require more memory than is available. Upvote 0
Downsampling happens when there isn't enough memory to load the bitmap. Instead of crashing the process it tries to downsample the image. You should avoid loading large images with LoadBitmap. Instead load them with LoadBitmapSample. Otherwise a single image can require more memory than is available.