Hello,
in my app I need to compress captured photo..
I tried using this routine (on my Iphone 4S), but the size is the same and the saved file is not a jpg. It seems like this routine is not working:
How can I reduce the size of an image in B4i?
Thanks
in my app I need to compress captured photo..
I tried using this routine (on my Iphone 4S), but the size is the same and the saved file is not a jpg. It seems like this routine is not working:
B4X:
Dim out As OutputStream = File.OpenOutput(Dir, Filename, False)
Image.WriteToStream(out, 70, "JPEG")
out.Close
How can I reduce the size of an image in B4i?
Thanks