Table of Contents

Class CineonDetails

Namespace
Egami.Formats.Extended.Dpx
Assembly
Egami.Formats.Extended.dll

Details only Cineon has, kept in FormatDetails. The writer writes the text and film fields back.

public sealed class CineonDetails : FormatDetails
Inheritance
CineonDetails
Inherited Members

Examples

// Cineon is written as the classic file: 10-bit printing-density RGB, three samples to a big-endian 32-bit word.
image.Save("duck.cin");
using Raster scan = Raster.Load("duck.cin", context);
if (scan.Metadata.FormatDetails is CineonDetails cineon)
{
    Console.WriteLine($"{cineon.Channels} channels of {cineon.BitsPerSample} bits, film format {cineon.FilmFormat}");
}

Properties

BitsPerSample

Gets or sets the stored bits a sample: 8, 10, 12 or 16.

public int BitsPerSample { get; set; }

Property Value

int

Channels

Gets or sets the number of channels the file stores: 1 or 3.

public int Channels { get; set; }

Property Value

int

CreationDate

Gets or sets the creation date, "yyyy:mm:dd".

public string CreationDate { get; set; }

Property Value

string

CreationTime

Gets or sets the creation time, "hh:mm:ssxxx".

public string CreationTime { get; set; }

Property Value

string

DeviceModel

Gets or sets the input device's model number.

public string DeviceModel { get; set; }

Property Value

string

DeviceSerial

Gets or sets the input device's serial number.

public string DeviceSerial { get; set; }

Property Value

string

FileName

Gets or sets the file name the header records.

public string FileName { get; set; }

Property Value

string

FilmCount

Gets or sets the film edge code count, or null when undefined.

public uint? FilmCount { get; set; }

Property Value

uint?

FilmFormat

Gets or sets the film format, such as "Academy".

public string FilmFormat { get; set; }

Property Value

string

FilmPrefix

Gets or sets the film edge code prefix, or null when undefined.

public uint? FilmPrefix { get; set; }

Property Value

uint?

FrameId

Gets or sets the frame id.

public string FrameId { get; set; }

Property Value

string

FramePosition

Gets or sets the frame's position in the sequence, or null when undefined.

public uint? FramePosition { get; set; }

Property Value

uint?

FrameRate

Gets or sets the frame rate, in frames a second, or null when undefined.

public float? FrameRate { get; set; }

Property Value

float?

InputDevice

Gets or sets the input device.

public string InputDevice { get; set; }

Property Value

string

Label

Gets or sets the label text.

public string Label { get; set; }

Property Value

string

Orientation

Gets or sets the image orientation code: 0 left to right and top to bottom.

public int Orientation { get; set; }

Property Value

int

Packing

Gets or sets the packing code: 5, three 10-bit samples to a 32-bit word from the top, is the usual one.

public int Packing { get; set; }

Property Value

int

SlateInfo

Gets or sets the slate information.

public string SlateInfo { get; set; }

Property Value

string

Methods

Copy()

Returns a deep copy.

public override FormatDetails Copy()

Returns

FormatDetails

The copy.