Enum PdfImageFormat

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

The file format an image was loaded from.

public enum PdfImageFormat

Fields

Jpeg = 0

JPEG, embedded unchanged with the DCTDecode filter.

Png = 1

PNG, decoded and re-compressed with Flate; an alpha channel becomes a soft mask.

Bmp = 2

Windows or OS/2 bitmap, decoded and compressed with Flate.

Gif = 3

GIF (the first frame), decoded and compressed with Flate; transparency becomes a soft mask.

Tiff = 4

TIFF, decoded and compressed with Flate (bilevel pages at one bit per pixel), or embedded unchanged when JPEG-compressed.