Aspose::Pdf::Devices::JpegDevice class

JpegDevice class

Represents image device that helps to save pdf document pages into jpeg.

class JpegDevice : public Aspose::Pdf::Devices::ImageDevice

Methods

MethodDescription
JpegDevice()Initializes a new instance of the JpegDevice class with default resolution and maximum quality.
JpegDevice(System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the JpegDevice class.
JpegDevice(int32_t)Initializes a new instance of the JpegDevice class.
JpegDevice(System::SharedPtr<Aspose::Pdf::Devices::Resolution>, int32_t)Initializes a new instance of the JpegDevice class.
JpegDevice(int32_t, int32_t)Initializes a new instance of the JpegDevice class with provided image dimensions, default resolution (=150) and maximum quality.
JpegDevice(System::SharedPtr<PageSize>)Initializes a new instance of the JpegDevice class with provided page size, default resolution (=150) and maximum quality.
JpegDevice(int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the JpegDevice class with provided image dimensions, resolution and maximum quality.
JpegDevice(System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::Resolution>)Initializes a new instance of the JpegDevice class with provided page size, resolution and maximum quality.
JpegDevice(int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::Resolution>, int32_t)Initializes a new instance of the JpegDevice class with provided image dimensions, resolution and quality.
JpegDevice(System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::Resolution>, int32_t)Initializes a new instance of the JpegDevice class with provided page size, resolution and quality.
Process(System::SharedPtr<Page>, System::SharedPtr<System::IO::Stream>) overrideConverts the page into jpeg and saves it in the output stream.

See Also