withBuffer static method
- Uint8List data
Creates a new image object from a buffer.
Will open PNG and JPEG images.
Parameters:
data
— The bytes to the image.
Creates a new image object from a buffer.
Will open PNG and JPEG images.
Parameters:
data
— The bytes to the image.