abstract class Hpdf::Raw::Image
- Hpdf::Raw::Image
- Reference
- Object
Direct Known Subclasses
Defined in:
hpdf/raw_image.crConstructors
-
.new(width : UInt32, height : UInt32, color_space : ColorSpace)
create a new in-memory image
Instance Method Summary
Constructor Detail
def self.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
orColorSpace::DeviceRgb
orColorSpace::DeviceCmyk
is allowed.