Method ApplySepia
ApplySepia()
Applies the classic sepia tone to the image buffer in place, using the standard luminance-weighted matrix (Microsoft/W3C coefficients).
public void ApplySepia()
Remarks
For RGBA32, the alpha channel is left unchanged. GRAY8 and BINARY1 carry no chroma to tint, so they are not supported.
Exceptions
- NotSupportedException
Thrown if the pixel format is not RGB24 or RGBA32.
- ObjectDisposedException
Thrown if this instance has been disposed.