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.


class RawJpegImporter


Grayscale (console safe) Use this property after importing a Jpeg image to get information if the decoded picture was Grayscale or color picture.
ProgressHandler (console safe) To get progress feedback then assign a a class instance that implements the IProgressHandler interface to this property.


OpenFromFile (console safe) Opens a Jpeg Image from a file.
OpenFromString (console safe) Opens a Jpeg Image from 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