Table of Contents

Property IsCompactPalette

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

IsCompactPalette

Gets or sets a value indicating whether compact palette is used.

public bool IsCompactPalette { get; }

Property Value

bool

true if compact palette is used; otherwise, false.

Remarks

Compact palette means that image will contain only the specified palette entries if possible or in other words the image will be more compact and occupy less space; otherwise there will be 2^BitsPerPixel entries and image will reserve more space for all possible palette entries. Setting this value to true and changing palette entries may cause performance penalty since data movement may occur so use it carefully.