class

Hpdf::Raw::Image

Inherits Reference / Object

Constructors

new(width : UInt32, height : UInt32, color_space : ColorSpace)

create a new in-memory image

  • width the width of the image.
  • height the height of the image.
  • color_space ColorSpace::DeviceGray or ColorSpace::DeviceRgb or ColorSpace::DeviceCmyk is allowed.
Source

Instance methods

color_space
Source
height
Source
to_unsafe
Source
width
Source