Blend2D::Imaging::Image
Inherits Blend2D::Core < Reference < Object
Constructors
new(w : Int32, h : Int32, format : Format, pixel_data : Slice(UInt32))
Sourcenew(w : Int32, h : Int32, format : Format = Format::Prgb32)
Sourcenew(core : LibBlend2D::BLImageCore)
Sourceread_from_file(filename) : Image
SourceClass methods
read_from_data(data : Slice, codecs : BLArray(BLImageCodec) | Nil = nil)
SourceInstance methods
convert(format : Format)
Sourcedata
Sourcefinalize
Sourcemutable_data
Sourcesize
Sourcewrite_to_data(codec : ImageCodec) : BLArray(UInt8)
Sourcewrite_to_file(fileName, codec : ImageCodec)
Sourcewrite_to_io(io : IO, codec : ImageCodec) : IO
Source