Table of Contents

Class DdsWriteDefines

Namespace
ImageMagick.Formats
Assembly
Magick.NET-Q8-AnyCPU.dll

Class for defines that are used when a ImageMagick.MagickFormat.Dds image is written.

public sealed class DdsWriteDefines : IWriteDefines, IDefines
Inheritance
DdsWriteDefines
Implements
IWriteDefines
IDefines
Inherited Members

Constructors

DdsWriteDefines()

public DdsWriteDefines()

Properties

ClusterFit

Gets or sets a value indicating whether cluser fit is enabled or disabled (dds:cluster-fit).

public bool? ClusterFit { get; set; }

Property Value

bool?

Compression

Gets or sets the compression that will be used instead of the default compression. Only a limited set of the compression methods are available for this. (dds:compression).

public DdsCompression? Compression { get; set; }

Property Value

DdsCompression?

Defines

Gets the defines that should be set as a define on an image.

public IEnumerable<IDefine> Defines { get; }

Property Value

IEnumerable<IDefine>

FastMipmaps

Gets or sets a value indicating whether the mipmaps should be resized faster but with a lower quality (dds:fast-mipmaps).

public bool? FastMipmaps { get; set; }

Property Value

bool?

Format

Gets the format where the defines are for.

public MagickFormat Format { get; }

Property Value

MagickFormat

MipmapCount

Gets or sets the the number of mipmaps, zero will disable writing mipmaps (dds:mipmaps).

public int? MipmapCount { get; set; }

Property Value

int?

Mipmaps

Gets or sets the the number of mipmaps, zero will disable writing mipmaps (dds:mipmaps).

[Obsolete("This property will be removed in the next major release, use MipmapCount instead.")]
public int? Mipmaps { get; set; }

Property Value

int?

MipmapsFromCollection

Gets or sets a value indicating whether the mipmaps should be created from the images in the collection (dds:mipmaps=fromlist).

public bool? MipmapsFromCollection { get; set; }

Property Value

bool?

Raw

Gets or sets a value indicating whether only the raw pixels should be written (dds:raw).

public bool? Raw { get; set; }

Property Value

bool?

WeightByAlpha

Gets or sets a value indicating whether weight by alpha is enabled or disabled when cluster fit is used (dds:weight-by-alpha).

public bool? WeightByAlpha { get; set; }

Property Value

bool?