NetpbmBinaryEncoder class final Output and Comparison

Encodes pixel data in a portable pixmap (Netpbm) image format using binary.

A singleton instance of this class is available as netpbmBinaryEncoder.

Inheritance

Constructors

NetpbmBinaryEncoder({NetpbmFormat? format})
Creates a new binary Netpbm encoder with the given format.
const

Properties

format → NetpbmFormat?
The format of the Netpbm image.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<Buffer<int>> stream) → Stream<Uint8List>
Transforms the provided stream.
inherited
cast<RS, RT>() → Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(Buffer<int> input, {Iterable<String> comments = const [], NetpbmFormat? format}) → Uint8List
Converts the pixel data to a Netpbm image.
inherited
fuse<TT>(Converter<Uint8List, TT> other) → Converter<Buffer<int>, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<Uint8List> sink) → Sink<Buffer<int>>
Starts a chunked conversion.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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