Class: ChunkyPNG::Chunk::Palette

Inherits:
Generic show all
Defined in:
lib/chunky_png/chunk.rb

Overview

The Palette (PLTE) chunk contains the image’s palette, i.e. the 8-bit RGB colors this image is using.

Instance Attribute Summary

Attributes inherited from Generic

#content

Attributes inherited from Base

#type

Method Summary

Methods inherited from Generic

#initialize, read

Methods inherited from Base

#initialize, #write, #write_with_crc

Constructor Details

This class inherits a constructor from ChunkyPNG::Chunk::Generic