Enum PdfImageFormat
The encodings a rasterized page can be written as.
public enum PdfImageFormat
Fields
Png = 0PNG: lossless, and the default.
Jpeg = 1JPEG: lossy, smaller for photographic pages.
Remarks
Deliberately a second enum rather than a reference to the imaging renderer's identical one.
A PDF reader has no business depending on the renderer that turns a LayoutDocument
into pixels — they share a rasterizer, not a direction — and taking that dependency for two
enum members would make every consumer of PDF import pull in the layout renderer as well.
The two are reconciled where a caller actually meets both, at the facade.