module StumpyPNG

Included Modules

Defined in:

stumpy_png/utils.cr
stumpy_png/chunk.cr
stumpy_png/datastream.cr
stumpy_png/filters.cr
stumpy_png/scanline.cr
stumpy_png/png.cr
stumpy_png.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) #

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

[View source]