Sha256: 0f55e937ddb57a6ecf5ceee184015b54291606f56163adbcdc438a7c9649f9b2
Contents?: true
Size: 365 Bytes
Versions: 4
Compression:
Stored size: 365 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
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
ruby-vips-2.0.14 | example/example4.rb |
vips-8.8.0.3 | example/example4.rb |
vips-8.8.0.2 | example/example4.rb |
vips-8.8.0.1 | example/example4.rb |