I have over 200 JPG images (all around 8000 pixels wide and 600 pixels high) that I see is (one at a time) with a complex system of sliding (they are 360 degree panoramas) and a scale factor of 1:1.
Everything is working very well but two JPG files (about 14,000 pixels wide and 600 pixels high) appear very very small (about 400x15 pixels) and in the log window shows the message
How to fix it ?
In case of lack of memory I read that you should use LoadBitmapSample
I tried with BMP.InitializeSample but the image remains reduced (8000x300 pixels approx)
Thanks in advance
B4X:
BMP.Initialize (File.DirRootExternal, filename)
DestRect.Initialize (CurrentX, CurrentY, BMP.Width-CurrentX, BMP.Height-CurrentY)
SrcRect.Initialize (0, 0, BMP.Width, BMP.Height)
Gestures1.SetOnTouchListener (Panel1, "Handle_Touch")
Everything is working very well but two JPG files (about 14,000 pixels wide and 600 pixels high) appear very very small (about 400x15 pixels) and in the log window shows the message
Downsampling image due to lack of memory
How to fix it ?
In case of lack of memory I read that you should use LoadBitmapSample
I tried with BMP.InitializeSample but the image remains reduced (8000x300 pixels approx)
Thanks in advance