Class: GD2::Image::IndexedColor

Class | GD2::Image::IndexedColor
In: | lib/gd2/image.rb
Parent: | Image

# Description

IndexedColor images select pixel colors indirectly through a palette of up to 256 colors. Use Image#palette to access the associated Palette object.

### Methods

merge_from

### Public Instance methods

merge_from(other, dst_x, dst_y, src_x, src_y, w, h, pct, gray = false)

Like Image#merge_from except an optional final argument can be specified to preserve the hue of the source by converting the destination pixels to grey scale before the merge.

[Validate]