I have a problem with Image.createImage(byte, int offset, int length).
Actually I want to make thumbnail of images.
Now every image need a Heap of size width*height*2 bytes. suppose if image width = 1200 and height = 1600 then I am not able to create a Image because heap is not available for such a long data(1200*1600*2 ) and application goes out of memory.
Can any body tell me to solve this problem.