reduce photo jpg

mvera

Active Member
Licensed User
Longtime User
Hello.
I need to lower the size of a jpg photo, for that I use the library RSImageProcessingFixed,
the problem I have when I take the photo gives me the following error.


java.lang.IllegalArgumentException: bitmap size exceeds 32bits

Sub ReSize(b As Bitmap, newWidth As Int, newHeight As Int) As Bitmap
Dim r As RSImageProcessing
Return r.scaleBitmap(b, newWidth, newHeight) here!!!

There is another way to reduce the size of a photo?

Thank
 
Top