PeachImage

PeachImage.PixelFormatExtensions

PixelFormatExtensions.GetBytesPerPixel(this PixelFormat) Method

Gets the number of bytes a single pixel occupies for the given format.

public static int GetBytesPerPixel(this PeachImage.PixelFormat format);

Parameters

format PixelFormat

Returns

System.Int32