GraphicsFormats REALbasic Plugin

JpegExporter Class

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

Object
   JpegExporter

class JpegExporter

Properties

BaselineForces baseline in the quality setting.
GrayscaleTo compress to a Grayscale color space.
ProgressHandlerTo get progress feedback then assign a a class instance that implements the IProgressHandler interface to this property.
ProgressiveTo set a progressive compression.
QualityQuality is to define the quality level.
SmoothingFactorSmoothing factor is to add smoothing to the image when it gets compressed.

Methods

SaveToFileExports a picture to a Jpeg file.
SaveToStreamExports a picture formatted as Jpeg to a IBinaryStreamWriter.
SaveToStringExports a picture formatted as Jpeg to a String.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86