Sha256: 5a04b8b8667642e2876370fdb944fb4f6c71bc6288a0537e13f67158651e9701

Contents?: true

Size: 372 Bytes

Versions: 25

Compression:

Stored size: 372 Bytes

Contents

#!/usr/bin/ruby

require 'vips'

# this makes vips keep a list of all active objects 
Vips::leak_set true

# disable the operation cache
#Vips::cache_set_max 0

# turn on debug logging
#Vips.set_debug true

ARGV.each do |filename|
    im = Vips::Image.new_from_file filename
    profile = im.get_value "icc-profile-data"
    puts "profile has #{profile.length} bytes"
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
vips-8.6.3.2 example/example4.rb
vips-8.7.0.1 example/example4.rb
ruby-vips-2.0.13 example/example4.rb
vips-8.6.3.1 example/example4.rb
vips-8.6.3 example/example4.rb
ruby-vips-2.0.12 example/example4.rb
ruby-vips-2.0.11 example/example4.rb
ruby-vips-2.0.10 example/example4.rb
ruby-vips-2.0.9 example/example4.rb
ruby-vips-2.0.8 example/example4.rb
ruby-vips-2.0.7 example/example4.rb
ruby-vips-2.0.6 example/example4.rb
ruby-vips-2.0.5 example/example4.rb
ruby-vips-2.0.4 example/example4.rb
ruby-vips-2.0.3 example/example4.rb
ruby-vips-2.0.2 example/example4.rb
ruby-vips-2.0.1 example/example4.rb
ruby-vips-2.0.0 example/example4.rb
ruby-vips-1.0.6 example/example4.rb
ruby-vips-1.0.5 example/example4.rb