PictureEffects REALbasic Plugin

ScaleEffect Class

A class to scale pictures.

This class has the following scaling algorithms:
  • BilinearScale
  • StretchHorizontal
  • StretchVertical

    This class supports use of multiple CPU cores on MacOS X and Windows systems.

    MPImageFilter
       ScaleEffect

    class ScaleEffect

    Properties

    ErrorCode (Inherited)Returns error code after applying the effect. This value is a Constant defined in the PictureEffectsError module.
    MultiprocessingHint (Inherited)Use this property to fine tune CPU usage for this algorithm. By default this property is set to zero (Automatic). This property accepts all constants that are defined in PictureEffectsCPUUsage.
    ProgressHandler (Inherited)Use this property to use a progress class to get progress feedback from this function. This class must be a class that Implements the IProgressHandler Interface which is defined in this plugin.

    Methods

    BilinearScaleTo do high quality scaling on images use the BilinearScale function.
    StretchHorizontalTo stretch a picture horizontally.
    StretchVerticalTo stretch a picture vertically.

    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