ImageUtilities class

Image utilities

Constructors

ImageUtilities()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

bytesFromImageFile(String path) List<int>
c2a(Uint8List pixels, int index, int redToHide, int greenToHide, int blueToHide) → void
colorToAlpha(Image image, int r, int g, int b) → Image
Makes pixels of the image transparent if color is defined as r, g, b.
colorToAlphaBlend(Image image, int redToHide, int greenToHide, int blueToHide) → void
Removes the given color as solid background from the image.
decodeWithCheck(Uint8List bytes) → Image
imageFromBytes(Uint8List bytes) → Image?
imageFromFile(String path) Future<Image?>
resizeImage(Uint8List bytes, {int newWidth = 100, int? longestSizeTo}) List<int>