class PNG::Parser

Defined in:

png/parser.cr

Constant Summary

PASSES = [{start_x: 0_u32, start_y: 0_u32, each_x: 8_u32, each_y: 8_u32}, {start_x: 4_u32, start_y: 0_u32, each_x: 8_u32, each_y: 8_u32}, {start_x: 0_u32, start_y: 4_u32, each_x: 4_u32, each_y: 8_u32}, {start_x: 2_u32, start_y: 0_u32, each_x: 4_u32, each_y: 4_u32}, {start_x: 0_u32, start_y: 2_u32, each_x: 2_u32, each_y: 4_u32}, {start_x: 1_u32, start_y: 0_u32, each_x: 2_u32, each_y: 2_u32}, {start_x: 0_u32, start_y: 1_u32, each_x: 1_u32, each_y: 2_u32}]

Constructors

Instance Method Summary

Constructor Detail

def self.new(header : PNG::Header) #

[View source]

Instance Method Detail

def next #

[View source]
def pass : Int32 #

[View source]
def pass=(pass : Int32) #

[View source]
def pass_rows #

[View source]
def row_bytes #

[View source]
def row_pixels #

[View source]
def scanline : Int32 #

[View source]
def scanline=(scanline : Int32) #

[View source]
def scanline_size #

[View source]
def x(n) #

[View source]
def y #

[View source]