JpegSegment class

Constructors

JpegSegment(ByteData data)

Properties

data ByteData
final
hashCode int
The hash code for this object.
no setterinherited
isApp bool
no setter
isStartOfScan bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortName String
no setter
type int
final

Methods

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

Operators

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

Static Methods

readHeaders(Uint8List jpegBytes) List<JpegSegment>
Reads segments prior to the entropy-coded data i.e. until the SOS (Start of Scan) segment
rewriteWithAlternateAppSegments({required Uint8List jpegToWrite, required Uint8List jpegWithAppSegmentsToUse, required EventSink<List<int>> writer}) → dynamic
Writes out a JPEG but uses the APP segments from another JPEG Useful in preserving EXIF data