Sha256: ec34ded5af12406a2e50e530080edf6f70cfbd25ef5f8016bc5db9b88d232a52

Contents?: true

Size: 530 Bytes

Versions: 16

Compression:

Stored size: 530 Bytes

Contents

module WebP
  
  ENCODER_ERRORS = [
    "Version mismatch", 
    "Invalid configuration", 
    "Cannot read input picture file", 
    "Cannot open output file", 
    "Cannot crop picture", 
    "Cannot resize picture",
    "Cannot encode picture as WebP"]
    
  DECODER_ERRORS = [
    "Version mismatch", 
    "Invalid webp image", 
    "Invalid output format",
    "Decoding failed"]
  
  class InvalidImageFormatError < StandardError; end
  class EncoderError < StandardError; end
  class DecoderError < StandardError; end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
webp-ffi-0.4.0 lib/webp/error.rb
webp-ffi-0.3.1 lib/webp/error.rb
webp-ffi-0.3.0 lib/webp/error.rb
webp-ffi-0.2.7 lib/webp/error.rb
webp-ffi-0.2.6 lib/webp/error.rb
webp-ffi-0.2.5 lib/webp/error.rb
webp-ffi-0.2.4 lib/webp/error.rb
webp-ffi-0.2.3 lib/webp/error.rb
webp-ffi-0.2.2 lib/webp/error.rb
webp-ffi-0.2.1 lib/webp/error.rb
webp-ffi-0.2.0 lib/webp/error.rb
webp-ffi-0.1.8 lib/webp/error.rb
webp-ffi-0.1.7 lib/webp/error.rb
webp-ffi-0.1.6 lib/webp/error.rb
webp-ffi-0.1.5 lib/webp/error.rb
webp-ffi-0.1.4 lib/webp/error.rb