Sha256: 771bf514be4323c5cf6b4b0a50a7e2900a45ee747d4e308d9122c966fef844dc
Contents?: true
Size: 367 Bytes
Versions: 9
Compression:
Stored size: 367 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
9 entries across 9 versions & 2 rubygems