class ChunkyPNG::Palette
def self.from_pixels(pixels)
-
(ChunkyPNG::Palette)
- The palette instance.
Parameters:
-
pixels
(Enumerable
) -- An enumeration of pixels to create a
def self.from_pixels(pixels) new(pixels) end
(ChunkyPNG::Palette)
- The palette instance.
pixels
(Enumerable
)
-- An enumeration of pixels to create a
def self.from_pixels(pixels) new(pixels) end