Sha256: 6d530545ea0992badd847b8b5cea5402216b63cd920499cad03b94307c16121c
Contents?: true
Size: 395 Bytes
Versions: 16
Compression:
Stored size: 395 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 GLib::logger.level = Logger::DEBUG 1.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
16 entries across 16 versions & 2 rubygems