Image Resizer : API Documentation

Type GrayscaleMode

Namespace ImageResizer

Parent Enum

Modes of converting the image to Grayscale. GrayscaleMode.Y usually produces the best resuts

Fields

Public fields

int value__

return int

GrayscaleMode None

return GrayscaleMode

GrayscaleMode Y

The reccomended value. Y and NTSC are identical.
return GrayscaleMode

GrayscaleMode NTSC

return GrayscaleMode

GrayscaleMode RY

return GrayscaleMode

GrayscaleMode BT709

return GrayscaleMode

GrayscaleMode Flat

Red, green, and blue are averaged to get the grayscale image. Usually produces poor results compared to other algorithms.
return GrayscaleMode