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

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