Click or drag to resize
Pdftools logo

JpegImageOptions Class

The settings for JPEG output images

JPEG images use a lossy compression algorithm that provides a high compression ratio. It is best suited for photographs and content with little or no text.

For the output file name, it is recommended to use the file extension ".jpg".

Inheritance Hierarchy
System.Object
  PdfTools.Internal.NativeBase
    PdfTools.Internal.NativeObject
      PdfTools.Pdf2Image.ImageOptions
        PdfTools.Pdf2Image.JpegImageOptions

Namespace: PdfTools.Pdf2Image
Assembly: PdfTools (in PdfTools.dll) Version: 1.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
Syntax
C#
public class JpegImageOptions : ImageOptions

The JpegImageOptions type exposes the following members.

Constructors
 NameDescription
Public methodJpegImageOptions 
Top
Properties
 NameDescription
Public propertyColorSpace

The color space of the output image

Get or set the color space of the image. If null, the blending color space of the page is used.

Default: Rgb

Public propertyJpegQuality

The JPEG quality factor

Get or set the JPEG compression quality. Valid values are 1, or 100, or in between.

Default: 85

Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also