module StumpyPNG::Scanline

Defined in:

stumpy_png/scanline.cr

Class Method Summary

Class Method Detail

def self.decode_grayscale(scanline, canvas, y, bit_depth) #

We don't need to care about invalid bit depths here, because they are validated before


[View source]
def self.decode_grayscale_1(scanline, canvas, y) #

[View source]
def self.decode_grayscale_16(scanline, canvas, y) #

[View source]
def self.decode_grayscale_2(scanline, canvas, y) #

[View source]
def self.decode_grayscale_4(scanline, canvas, y) #

[View source]
def self.decode_grayscale_8(scanline, canvas, y) #

[View source]
def self.decode_grayscale_alpha(scanline, canvas, y, bit_depth) #

[View source]
def self.decode_grayscale_alpha_16(scanline, canvas, y) #

[View source]
def self.decode_grayscale_alpha_8(scanline, canvas, y) #

[View source]
def self.decode_palette(scanline, canvas, y, palette, bit_depth) #

[View source]
def self.decode_palette_1(scanline, canvas, y, palette) #

[View source]
def self.decode_palette_2(scanline, canvas, y, palette) #

[View source]
def self.decode_palette_4(scanline, canvas, y, palette) #

[View source]
def self.decode_palette_8(scanline, canvas, y, palette) #

[View source]
def self.decode_rgb(scanline, canvas, y, bit_depth) #

[View source]
def self.decode_rgb_16(scanline, canvas, y) #

[View source]
def self.decode_rgb_8(scanline, canvas, y) #

[View source]
def self.decode_rgb_alpha(scanline, canvas, y, bit_depth) #

[View source]
def self.decode_rgb_alpha_16(scanline, canvas, y) #

[View source]
def self.decode_rgb_alpha_8(scanline, canvas, y) #

[View source]