PdfImageBitmap class final

A rendered bitmap returned by PdfDocument.renderImage.

bgra is the composited BGRA pixel buffer produced by FPDFImageObj_GetRenderedBitmap. The rendering includes mask composition and transform application, so the output dimensions (width × height) may differ from the source image dimensions in PdfImageMetadata.

Constructors

PdfImageBitmap({required Uint8List bgra, required int width, required int height})
Creates an immutable PdfImageBitmap.
const

Properties

bgra Uint8List
Rendered BGRA pixel bytes. Length equals width * height * 4.
final
hashCode int
The hash code for this object.
no setteroverride
height int
Rendered pixel height.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Rendered pixel width.
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.
override