ImageExtension extension
- on
Methods
-
brighten(
double amount) → Future< Image> -
Change each pixel's color to be brighter and return a new
Image
. -
darken(
double amount) → Future< Image> -
Change each pixel's color to be darker and return a new
Image
. -
getBoundingRect(
) → Rect - Returns the bounding Rect of the image.
-
pixelsInUint8(
) → Future< Uint8List> -
Helper method to retrieve the pixel data of the image as a
Uint8List
.