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
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.Pdf2ImageImageOptions
        PdfTools.Pdf2ImageJpegImageOptions

Namespace: PdfTools.Pdf2Image
Assembly: PdfTools (in PdfTools.dll) Version: 1.4.0+fc8bb87ea2616e7f35d94e0588d333abae862a7a
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 , 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