GraphicsFormats Xojo plugin

RawJpegExporter Class (console safe)

A class to Export Pictures to a Jpeg format. The result can be written to a File, string or IBinaryStreamWriter.

This class uses RawBitmap that is defined in TypeLib instead of Xojo Pictures. RawBitmap can be used in console applications.

This class will also include ICC Color Profile if the RawBitmap had ICC Color profile on it.

Object
   RawJpegExporter

class RawJpegExporter

Properties

Baseline (console safe) Forces baseline in the quality setting.
Grayscale (console safe) To compress to a Grayscale color space.
LastError (console safe) Error code for last method called.
ProgressHandler (console safe) To get progress feedback then assign a a class instance that implements the IProgressHandler interface to this property.
Progressive (console safe) To set a progressive compression.
Quality (console safe) Quality is to define the quality level.
SmoothingFactor (console safe) Smoothing factor is to add smoothing to the image when it gets compressed.

Methods

SaveToFile (console safe) Exports a RawBitmap picture to a Jpeg file.
SaveToString (console safe) Exports a picture formatted as Jpeg to a String.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM