Method | Description | |
---|---|---|
DecodeBGR ( string path ) : |
Decode the WebP image into a BGR Bitmap
|
|
DecodeBGR ( string path, int &imgWidth, int &imgHeight ) : byte[] |
Decode the WebP image file into raw BGR image data
|
|
DecodeBGRA ( string path ) : |
Decode the WebP image into a BGRA Bitmap
|
|
DecodeBGRA ( string path, int &imgWidth, int &imgHeight ) : byte[] |
Decode the WebP image file into raw BGRA image data
|
|
DecodeRGB ( string path ) : |
Decode the WebP image into a RGB Bitmap
|
|
DecodeRGB ( string path, int &imgWidth, int &imgHeight ) : byte[] |
Decode the WebP image file into raw RGB image data
|
|
DecodeRGBA ( string path ) : |
Decode the WebP image into a RGBA Bitmap
|
|
DecodeRGBA ( string path, int &imgWidth, int &imgHeight ) : byte[] |
Decode the WebP image file into raw RGBA image data
|
|
GetDecoderVersion ( ) : string |
The decoder's version number
|
|
GetInfo ( string path, int &imgWidth, int &imgHeight ) : bool |
Validate the WebP image header and retrieve the image height and width
|
Method | Description | |
---|---|---|
decode ( string path, decodeType type, PixelFormat format ) : |
Internal convert method to get a Bitmap from a WebP image file
|
|
decode ( string path, decodeType type, PixelFormat format, int &imgWidth, int &imgHeight ) : byte[] |
Internal convert method to get a byte array from a WebP image file
|
public DecodeBGR ( string path ) : |
||
path | string | The path to the WebP image file |
return |
public DecodeBGR ( string path, int &imgWidth, int &imgHeight ) : byte[] | ||
path | string | The path to the WebP image file |
imgWidth | int | Returns the width of the WebP image |
imgHeight | int | Returns the height of the WebP image |
return | byte[] |
public DecodeBGRA ( string path ) : |
||
path | string | The path to the WebP image file |
return |
public DecodeBGRA ( string path, int &imgWidth, int &imgHeight ) : byte[] | ||
path | string | The path to the WebP image file |
imgWidth | int | Returns the width of the WebP image |
imgHeight | int | Returns the height of the WebP image |
return | byte[] |
public DecodeRGB ( string path ) : |
||
path | string | The path to the WebP image file |
return |
public DecodeRGB ( string path, int &imgWidth, int &imgHeight ) : byte[] | ||
path | string | The path to the WebP image file |
imgWidth | int | Returns the width of the WebP image |
imgHeight | int | Returns the height of the WebP image |
return | byte[] |
public DecodeRGBA ( string path ) : |
||
path | string | The path to the WebP image file |
return |
public DecodeRGBA ( string path, int &imgWidth, int &imgHeight ) : byte[] | ||
path | string | The path to the WebP image file |
imgWidth | int | Returns the width of the WebP image |
imgHeight | int | Returns the height of the WebP image |
return | byte[] |
public GetInfo ( string path, int &imgWidth, int &imgHeight ) : bool | ||
path | string | The path to the WebP image file |
imgWidth | int | Returns the width of the WebP image |
imgHeight | int | Returnsthe height of the WebP image |
return | bool |