struct FastImage::JPEG

Defined in:

fastimage/meta/jpeg.cr

Constant Summary

COM_MARKER = 254

Comment

EOI_MARKER = 217

End of image

MAGICK = Bytes[SEPARATOR, SOI_MARKER]
RST_0_MARKER = 208

Restart (0)

RST_7_MARKER = 215

Restart (7)

SEPARATOR = 255
SOF_0_MARKER = 192

Start of frame (baseline sequential)

SOF_2_MARKER = 194

Start of frame (progressive)

SOI_MARKER = 216

Start of image

SOS_MARKER = 218

Start of scans

Instance Method Summary

Instance methods inherited from struct FastImage::Meta

dimensions dimensions, height : UInt32 | Nil height, initial_pos : Int32 initial_pos, width : UInt32 | Nil width

Constructor methods inherited from struct FastImage::Meta

new(io : IO, initial_pos : Int32 = 0)
new
new

Instance Method Detail

def type #

[View source]