Normalized representation of an embedded image extracted from the PDF.
data: Raw image bytes (e.g. PNG/JPEG) as Uint8Array. Use this for file writing or binary processing.
dataUrl: Optional data URL (e.g. "data:image/png;base64,...") for directly embedding in src.
Storing both lets consumers choose the most convenient form; consider omitting one to save memory.
name: Resource name for the image.
width / height: Dimensions in pixels.
kind: ImageKindValue from indicating the pixel format (e.g. GRAYSCALE_1BPP / RGB_24BPP / RGBA_32BPP).
EmbeddedImage
data: Raw image bytes (e.g. PNG/JPEG) as Uint8Array. Use this for file writing or binary processing.dataUrl: Optional data URL (e.g. "data:image/png;base64,...") for directly embedding inname: Resource name for the image.width/height: Dimensions in pixels.kind: ImageKindValue from indicating the pixel format (e.g. GRAYSCALE_1BPP / RGB_24BPP / RGBA_32BPP).