PeachImage
PeachImage.PixelFormatExtensions
PixelFormatExtensions.GetBytesPerSample(this PixelFormat) Method
Gets the number of bytes a single sample (channel value) occupies for the given format.
public static int GetBytesPerSample(this PeachImage.PixelFormat format);
Parameters
format PixelFormat