I am using following code to draw scaled image in PaintListener.
e.gc.drawImage(image,
0, 0, w, h,
0, 0, scaledWidth, scaledHeight
);
I want to draw image in gray color.
What could be done for that? Does drawImage support some special parameters for that or I should better prepare and convert original image to be grayed.