moonbitstack/moonimage/raster does not have a README file
pub(all) struct Image {
width : Int
height : Int
format : PixelFormat
stride : Int
pixels : Bytes
premultiplied : Bool
metadata : Metadata
}fn Image::new(width : Int, height : Int, format : PixelFormat, stride? : Int, premultiplied? : Bool, metadata? : Metadata) -> Imagefn Image::of(width : Int, height : Int, format : PixelFormat, pixels : Bytes, stride? : Int, premultiplied? : Bool, metadata? : Metadata) -> Image raise Refusedpub(all) struct Limits {
width : Int
height : Int
pixels : Int
bytes : Int
}impl Show for PixelFormatfn hex(bytes : BytesView, at : Int, count : Int) -> StringInstall
Download zipImage codecs for MoonBit: PNG, QOI, BMP, TGA, JPEG, GIF and WebP, and the pixel arithmetic between them.