class

Hpdf::Raw::CmykImage

Inherits Hpdf::Raw::Image / Reference / Object

create a new in-memory CMYK image. Import using Doc#load_raw_image_from_mem

Constructors

new(width : UInt32, height : UInt32)
Source

Instance methods

[]=(x : Number, y : Number, color : CmykColor)
Source
rgb_at(x : UInt32, y : UInt32, cyan : UInt8, magenta : UInt8, yellow : UInt8, black : UInt8)

sets the rgb value at x and y.

Source