How to grayscale an image

How to grayscale an image

         If you need to transform your color photo to its grayscale representation you can apply Grayscale method of the RasterImage class to them. Vector images can be converted to grayscale as well by rasterizing them to `png` format: