Sha256: ecca903a8536f77decf4231b25ea95dcd3cdd59812c423470b3d2b894bb83ddf
Contents?: true
Size: 1.78 KB
Versions: 6
Compression:
Stored size: 1.78 KB
Contents
module WebP module C # enum OutputFileFormat = enum( :png, 0, :pam, :ppm, :pgm, :bmp, :tiff, :yuv, :alpha_plane_only ) # struct class FfiWebpEncodeConfig < FFI::Struct layout :lossless, :int, :quality, :float, :method, :int, :target_size, :int, :target_PSNR, :float, :segments, :int, :sns_strength, :int, :filter_strength, :int, :filter_sharpness, :int, :filter_type, :int, :autofilter, :int, :alpha_compression, :int, :alpha_filtering, :int, :alpha_quality, :int, :pass, :int, :show_compressed, :int, :preprocessing, :int, :partitions, :int, :partition_limit, :int, # image :width, :int, :height, :int, :crop_x, :int, :crop_y, :int, :crop_w, :int, :crop_h, :int, :resize_w, :int, :resize_h, :int end class FfiWebpDecodeConfig < FFI::Struct layout :output_format, OutputFileFormat, :bypass_filtering, :int, :no_fancy_upsampling, :int, :crop_x, :int, :crop_y, :int, :crop_w, :int, :crop_h, :int, :resize_w, :int, :resize_h, :int, :use_threads, :int end # webp lib functions attach_function :decoder_version, [:pointer], :void attach_function :encoder_version, [:pointer], :void attach_function :webp_get_info, [:pointer, :size_t, :pointer, :pointer], :int attach_function :webp_encode, [:string, :string, :pointer], :int attach_function :webp_decode, [:string, :string, :pointer], :int attach_function :test_c, [:int], :int end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
webp-ffi-0.2.5 | lib/webp/c.rb |
webp-ffi-0.2.4 | lib/webp/c.rb |
webp-ffi-0.2.3 | lib/webp/c.rb |
webp-ffi-0.2.2 | lib/webp/c.rb |
webp-ffi-0.2.1 | lib/webp/c.rb |
webp-ffi-0.2.0 | lib/webp/c.rb |