Palette Methods

FreeImage.NET

Palette Methods

The Palette type exposes the following members.

Methods
  Name Description
Public method Clone
Creates a shallow copy of the MemoryArrayT.
(Inherited from MemoryArrayT.)
Public method Colorize(Color)
Creates a linear palette based on the provided color.
Public method Colorize(Color, Double)
Creates a linear palette based on the provided color.
Public method Colorize(Color, Int32)
Creates a linear palette based on the provided color.
Public method CopyFrom(Palette)
Copies the values from the specified Palette to this instance.
Public method CopyFrom(Palette, Int32)
Copies the values from the specified Palette to this instance, starting at the specified offset.
Public method CopyFrom(T, Int32, Int32, Int32)
Copies a range of elements from the array starting at the specified sourceIndex and pastes them to the unmanaged array starting at the specified destinationIndex. The length and the indexes are specified as 32-bit integers.
(Inherited from MemoryArrayT.)
Public method CopyTo(Array, Int32)
Copies the entire array to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from MemoryArrayT.)
Public method CopyTo(T, Int32, Int32, Int32)
Copies a range of elements from the unmanaged array starting at the specified sourceIndex and pastes them to array starting at the specified destinationIndex. The length and the indexes are specified as 32-bit integers.
(Inherited from MemoryArrayT.)
Public method CreateGrayscalePalette
Creates a linear grayscale palette.
Public method CreateGrayscalePalette(Boolean)
Creates a linear grayscale palette.
Public method CreateGrayscalePalette(Color, Boolean)
Creates a linear palette with the specified Color.
Public method Dispose
Releases all ressources.
(Inherited from MemoryArrayT.)
Public method Equals(Object)
Tests whether the specified MemoryArrayT structure is equivalent to this MemoryArrayT structure.
(Inherited from MemoryArrayT.)
Public method Equals(MemoryArrayT)
Tests whether the specified MemoryArrayT structure is equivalent to this MemoryArrayT structure.
(Inherited from MemoryArrayT.)
Public method GetEnumerator
Retrieves an object that can iterate through the individual elements in this MemoryArrayT.
(Inherited from MemoryArrayT.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from MemoryArrayT.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValue
Gets the value at the specified position.
(Inherited from MemoryArrayT.)
Public method GetValues
Gets the values at the specified position and length.
(Inherited from MemoryArrayT.)
Public method Load(BinaryReader)
Loads a palette from the reader.
Public method Load(Stream)
Loads a palette from the specified stream.
Public method Load(String)
Loads a palette from the specified file.
Public method Reverse
Reverses the palette.
Public method Save(BinaryWriter)
Saves this Palette using the specified writer.
Public method Save(Stream)
Saves this Palette to the specified stream.
Public method Save(String)
Saves this Palette to the specified file.
Public method SetValue
Sets a value to the element at the specified position.
(Inherited from MemoryArrayT.)
Public method SetValues
Sets the values at the specified position.
(Inherited from MemoryArrayT.)
Public method ToArray
Returns the palette as an array of RGBQUAD.
Public method ToByteArray
Returns the represented block of memory as an array of Byte.
(Inherited from MemoryArrayT.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also