Represents an image decoded and prepared for PDF embedding.
Summary
Types
Color space of the image data.
Supported image formats.
An image decoded and prepared for PDF embedding.
Types
@type color_space() :: :rgb | :gray
Color space of the image data.
@type format() :: :jpeg | :png
Supported image formats.
@type t() :: %Press.Image{ alpha_data: binary() | nil, color_space: color_space(), data: binary(), format: format(), height: pos_integer(), id: String.t() | nil, width: pos_integer() }
An image decoded and prepared for PDF embedding.