[]
Defines formats that can be used to encode images in a PDF.
public enum ImageOptions.ImageFormat
Auto = 0
Select the optimal format automatically based on the particular image and document options (recommended).
The following rules are used:
Jpeg = 1
Use JPEG to encode images.
Note that when using this format, any transparency that may be present in an original image will be lost, as JPEG does not support transparency.
Raw = 2
Do not encode image data.
When using this format, the CompressionLevel affects the final PDF size, and in combination with System.IO.Compression.CompressionLevel.Optimal it may produce better compression than JPEG for certain types of images (e.g. screenshots of mostly text screens).