Method ToWpfPixelFormat
ToWpfPixelFormat(Type)
Declaration
public static PixelFormat ToWpfPixelFormat(Type colorType)
Parameters
Type | Name | Description |
---|---|---|
Type | colorType |
Returns
Type | Description |
---|---|
PixelFormat |
ToWpfPixelFormat<TColor, TDepth>(Image<TColor, TDepth>)
Declaration
public static PixelFormat ToWpfPixelFormat<TColor, TDepth>(this Image<TColor, TDepth> image) where TColor : struct, IColor where TDepth : new()
Parameters
Type | Name | Description |
---|---|---|
Image<TColor, TDepth> | image |
Returns
Type | Description |
---|---|
PixelFormat |
Type Parameters
Name | Description |
---|---|
TColor | |
TDepth |