JpegOptions class

Constructors

JpegOptions({bool trimIfLossy = true, bool failIfLossy = false, bool grayscale = false})
const

Properties

failIfLossy bool
Some transformations cannot be done losslessly if they lead to partial MCU blocks having to be moved. This option throws an error in such a situation. (sets TJXOPT_PERFECT)
final
grayscale bool
Convert to grayscale by simply discarding colour data (sets TJXOPT_GRAY)
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trimIfLossy bool
Some transformations cannot be done losslessly if they lead to partial MCU blocks having to be moved. This option discards these partial blocks. (sets TJXOPT_TRIM)
final

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