Are there any chances that I could resize an image using the fileconnection inputstream?
FileConnection fc = (FileConnection) Connector.open("file:///" + filePath + "/",Connector.READ);
InputStream fis = (InputStream) fc.openInputStream();
I want to resize the image from here because if I use
Image.createImage(fis);
I am encountering "Out of Memory error", if the file size is too large.
What I wanna do is have a function similar to resize(fis, percent) before using Image.createImage(fis) so that image is resized before creating it.