Hi ,
I am developing j2me application for creating thumbnail of Jpeg , GIF images.
But i am getting problem if image size is large. Application through exception - "memory out of bound".
Please help.
Thanks in advance.
Hi ,
I am developing j2me application for creating thumbnail of Jpeg , GIF images.
But i am getting problem if image size is large. Application through exception - "memory out of bound".
Please help.
Thanks in advance.
Hi,
I was looking for the same thing ..
May be you can try the code here ..
http://miniim.blogspot.com/2008/05/i...d-way-for.html
-- Thanks
Kamanashis Roy
yes some devices limit the max memory available for graphics/images.
so u cant have like a 1 mb image size of jpeg loaded to memory using image.createImage since it translate into bit map rgb and thats way way way too much for most handsets.
Shaii is correct about memory issues, anyway the linked code should be good since it tries to optimize memory management reading the source image row by row.
Pit