in nokia we have following method to draw the pixel array of short , which doesnt exist in MIDP api.
drawPixels(short pixels, boolean transparancy,int offset,int x, int y, int width,int height, int manipulation,int format);
if pixel array contains values of color to draw on the screen.
how it is possible in MIDP to render the same image with no color difference compare to nokia api.
there is drawRGB method in midp which plots the integer array.
How it is possible to convert the short pixel array (containing the color value) into an integer pixel array for MIDP without changing color effect.
please suggest me how it can be done?
i tried it to convert a short pixel array into an integer but i am not getting the same color effect as that of getting in nokia.