module StumpyPNG

Included Modules

Defined in:

stumpy_png.cr
stumpy_png/chunk.cr
stumpy_png/datastream.cr
stumpy_png/filters.cr
stumpy_png/png.cr
stumpy_png/scanline.cr
stumpy_png/utils.cr

Constant Summary

HEADER = 9894494448401390090_u64
WRITE_BIT_DEPTHS = {8, 16}
WRITE_COLOR_TYPES = {:rgb => 2_u8, :rgb_alpha => 6_u8, :grayscale => 0_u8, :grayscale_alpha => 4_u8}

Class Method Summary

Class Method Detail

def self.read(path : String) #

[View source]
def self.read(io : IO) #

[View source]
def self.write(canvas, path : String, **options) #

[View source]
def self.write(canvas, io : IO, **options) #

[View source]