ImageHelper class

Constructors

ImageHelper()

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

byte2Pixel(Uint8List byteData, int firstIndex) → int
color2Uint(int color) → Uint8List
getBlackest(List<int> grayscaleRgba) → int
getColorFromByte(List<int> byte, int index, {bool isLog = false}) → int
getColorRgb(int red, int green, int blue, [int a = 255]) → int
getLuminanceRgb(int red, int green, int blue) → int
getWhitest(List<int> grayscaleRgba) → int
toBlackAndWhite(List<int> rgba, {int tolerance = 75}) → List<int>
toGrayScale(List<int> rgba) → List<int>
toGrayscalePixelsFromRgba(List<int> rgba) → List<int>
toPixelsFromRgba(List<int> rgba, {bool greyscale = false}) → List<int>
toRawRgba(Uint8List bytes) → Future<Uint8List?>
uriToUint8List(UriData uri, {ImageByteFormat format = ui.ImageByteFormat.png}) → Future<Uint8List?>