This documentation is for the old version. Go to the latest Graphics Mill docs

IFrame Interface

This interface is implemented by objects which represents media formats frames.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Interface IFrame _
	Implements IDisposable
C#
public interface IFrame : IDisposable

Remarks

In general, frames stores the following information:

  • Bitmap. You can get it using GetBitmap(Bitmap) method. You can also receive its thumbnail using GetThumbnail(Bitmap, Int32, Int32) method (it will work much faster than receiving thumbnail and then resizing it, because it will be done "on-the-fly").
  • Bitmap characteristics such as Width, Height, and PixelFormat. These properties will extract these data without loading entire bitmap into memory, so it works extremely fast.
  • Frame position relatively entire file "canvas" (Left and Top properties). As this "canvas" defined not for all the formats, these values are meaningless for such formats. In this case they are always equal to 0.
Note

These data are read from file only once. After you read some property, it is cached and next time it returns pre-loaded data.

Object Model




See Also

Reference