Search Results for

    Show / Hide Table of Contents

    Class ImageFileInfo.FrameInfo

    Represents basic information about an image frame within a container.

    Inheritance
    System.Object
    ImageFileInfo.FrameInfo
    Namespace: PhotoSauce.MagicScaler
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public sealed class FrameInfo : ValueType

    Constructors

    FrameInfo(Int32, Int32, Boolean, Orientation)

    Constructs a new ImageFileInfo.FrameInfo instance with the supplied values.

    Declaration
    public FrameInfo(int width, int height, bool hasAlpha, Orientation orientation)
    Parameters
    Type Name Description
    System.Int32 width

    The width of the image frame in pixels.

    System.Int32 height

    The height of the image frame in pixels.

    System.Boolean hasAlpha

    True if the image frame contains transparency data, otherwise false.

    Orientation orientation

    The Exif orientation associated with the image frame.

    Properties

    ExifOrientation

    The stored Exif orientation for the image frame. The Width and Height values reflect the corrected orientation, not the stored orientation.

    Declaration
    public Orientation ExifOrientation { get; }
    Property Value
    Type Description
    Orientation

    HasAlpha

    True if the image frame contains transparency data, otherwise false.

    Declaration
    public bool HasAlpha { get; }
    Property Value
    Type Description
    System.Boolean

    Height

    The height of the image frame in pixels.

    Declaration
    public int Height { get; }
    Property Value
    Type Description
    System.Int32

    Width

    The width of the image frame in pixels.

    Declaration
    public int Width { get; }
    Property Value
    Type Description
    System.Int32
    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX