Hello...
I am working image scaling for the image using j2me code. I am calling Image.getRGB() method to get the ARGB data and then applying my scaling algorithm. I am facing issue only with E50/E65 device while calling Image.getRGB() method for transparent image. I am creating a full transparent image (alpha = 0x00) and then calling Image.getRGB() method but always alpha value returned is 255 in the ARGB data.
In this case I am not able to scale the image because alpha value is returned as 255 and after reconstructing the image (Image.createRGBImage()) the image losts its transparency. I know the problem is with Image.getRGB() method for E50/E65 device.
So is there any other way to do the scaling for transparent image? Please help me on this.
Thanks,
Amritendu

Reply With Quote


