my code:
Image image = createMutableImage(...);
DirectGraphics dg = DriectUtils.getDirectGraphics( image.getGraphics() );
byte[] pxls = new byte[...];
byte[] mask = new byte[...];
dg.getPixels(pxls, mask, 0, ..., dg.getNativePixelFormat());
It works on the Serial 60 Emulator, but when running on the 7650 phone,
it throw `IllegalArgumentException'
The nokia api said, Throws java.lang.IllegalArgumentException - if x, y, width or height is negative, or the format is wrong or unsupported.
But my x, y, width, height, none is negative, and the format is getNativePixelFormat().
Thanx!