GraphicsFormats Xojo plugin

RawWebPImporter.ReadHeader Method

Reads only header information from image stored in string to get basic information and not decode the whole image.

ReadHeader(
   data as String) as RawBitmapDescription

Parameters

data
The string data containing an image in WebP format.

Returns

RawBitmapDescription
Instance of RawBitmapDescription or nil if there was error. If getting nil then you can check the last error code and ErrorMessage also to get more detail.

Remarks

See Also

RawWebPImporter Class