Sha256: f20b70e095380fc0809094bfddb41db150128a9cebeefa1c9f5bb8233f87ba97
Contents?: true
Size: 387 Bytes
Versions: 9
Compression:
Stored size: 387 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 10000.times do |i| puts "loop #{i} ..." im = Vips::Image.new_from_file ARGV[0] im = im.embed 100, 100, 3000, 3000, :extend => :mirror im.write_to_file "x.v" end
Version data entries
9 entries across 9 versions & 1 rubygems