GraphicsFormats REALbasic Plugin

JpegImporter Class

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

Object
   JpegImporter

class JpegImporter

Properties

GrayscaleUse this property after importing a Jpeg image to get information if the decoded picture was Grayscale or color picture.
ProgressHandlerTo get progress feedback then assign a a class instance that implements the IProgressHandler interface to this property.

Methods

OpenFromFileOpens a Jpeg Image from a file.
OpenFromStreamOpens a Jpeg Image from a IBinaryStreamWriter.
OpenFromStringOpens a Jpeg Image from 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