GraphicsFormats Xojo plugin

RawJpegImporter Class (console safe)

A class to Import Pictures from a Jpeg format. The picture can be imported from a File, string or IBinaryStreamReader.

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

This class will import ICC Color Profile if the image has ICC Color Profile.

Object
   RawJpegImporter

class RawJpegImporter implements

IRawBitmapReader

Properties

GrayscaleUse this property after importing a Jpeg image to get information if the decoded picture was Grayscale or color picture.
LastErrorReturns code of last error that occurred or zero if no error.
ProgressHandlerTo get progress feedback then assign a a class instance that implements the IProgressHandler interface to this property.

Methods

GetLastErrorCodeSame as the LastError property but this one returns it as Integer to full-fill the standard interface.
OpenFromFileOpens a Jpeg Image from a file.
OpenFromStringOpens a Jpeg Image from a String.

Constants

Version = 7.5

Supported Platforms:

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