Class | GD2::Image::IndexedColor |
In: |
lib/gd2/image.rb
|
Parent: | Image |
IndexedColor images select pixel colors indirectly through a palette of up to 256 colors. Use Image#palette to access the associated Palette object.
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.