| GraphicsFormats REALbasic Plugin |
|
RawJpegExporter Class
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 REALbasic Pictures. RawBitmap can be used in console applications.
Object
RawJpegExporter
class RawJpegExporter
Properties
Baseline | Forces baseline in the quality setting. |
Grayscale | To compress to a Grayscale color space. |
ProgressHandler | To get progress feedback then assign a a class instance that implements the IProgressHandler interface to this property. |
Progressive | To set a progressive compression. |
Quality | Quality is to define the quality level. |
SmoothingFactor | Smoothing factor is to add smoothing to the image when it gets compressed. |
Methods
SaveToFile | Exports a RawBitmap picture to a Jpeg file. |
SaveToString | Exports a picture formatted as Jpeg to a String. |
Supported Platforms:
PPC - MacOS 9Carbon - MacOS 9 and MacOS X (PEF)MacOS X PPC - (Mach-O)MacOS X Universal Binary (Mach-O)Win32 - WindowsLinux x86