ImageUtilities class

Image utilities

Constructors

ImageUtilities()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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(Uint8List bytes, int r, int g, int b) Uint8List
Makes pixels of the image bytes 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.
colorToAlphaImg(Image image, int r, int g, int b) → void
Makes pixels of the image transparent if color is defined as r, g, b. [...]
imageFromBytes(List<int> bytes) Image
resizeImage(Uint8List bytes, {int newWidth = 100, int longestSizeTo}) List<int>