Hi,
it displays the height and width of the returned image
also, the midlet runs fine for other options/images in mobile
Code is as follows:
Code:
Image img1=rescaleImage(img,width,height);
iw=img1.getWidth();
ih=img1.getHeight();
g.setColor(0,0,255);
//Following line displays the height and width of the returned image
//This shows that an image is actually being returned
g.drawString(iw+","+ih,2,4,g.TOP|g.LEFT);
g.drawImage(img1,(x,y,g.TOP|g.LEFT);
//but the image is not being displayed here
Thanx in advance