Class DpxWriterOptions
Options for writing DPX.
public sealed class DpxWriterOptions : WriterOptions
- Inheritance
-
DpxWriterOptions
- Inherited Members
Examples
// 10-bit, big-endian, filled three samples to a 32-bit word: what most tools read. Options pick the depth,
// byte order and transfer characteristic.
image.Save("duck.dpx");
image.Save("duck-16.dpx", new DpxWriterOptions { BitsPerSample = 16, BigEndian = false, Transfer = DpxTransfer.Linear });
Properties
BigEndian
Gets whether to write big endian ("SDPX"). Defaults to true.
public bool BigEndian { get; init; }
Property Value
BitsPerSample
Gets the bits a sample: 8, 10, 12 or 16, or null (the default) for those of a raster read from DPX or Cineon, and 10 otherwise.
public int? BitsPerSample { get; init; }
Property Value
- int?
Default
Gets the default options.
public static DpxWriterOptions Default { get; }
Property Value
Transfer
Gets the transfer characteristic and colorimetric code to write, or null (the default) for those of a raster read from DPX, printing density for one read from Cineon, and UserDefined otherwise. They only label the samples, which are written as they are.
public DpxTransfer? Transfer { get; init; }