module

CrImage::WEBP::Decoder

Main WEBP decoder.

Handles decoding of WebP images including:

  • RIFF container parsing
  • VP8X extended format support
  • VP8L lossless decoding
  • Alpha channel handling (ALPH chunks)
  • VP8 lossy format (not yet implemented)

Constants

FCC_ALPH = FourCC.new("ALPH")
FCC_VP8 = FourCC.new("VP8 ")
FCC_VP8L = FourCC.new("VP8L")
FCC_VP8X = FourCC.new("VP8X")
FCC_WEBP = FourCC.new("WEBP")

Class methods

decode(io : IO) : CrImage::Image
Source
decode_config(io : IO) : CrImage::Config
Source