Sha256: 37ca189dbec1d8387c1b5bca89bf6bb2d6f69e5c4df681a12e43e46c0706777e

Contents?: true

Size: 386 Bytes

Versions: 13

Compression:

Stored size: 386 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

13 entries across 13 versions & 2 rubygems

Version Path
vips-8.11.3 example/example3.rb
vips-8.10.5 example/example3.rb
vips-8.9.1 example/example3.rb
ruby-vips-2.0.17 example/example3.rb
vips-8.8.4 example/example3.rb
vips-8.8.3 example/example3.rb
ruby-vips-2.0.16 example/example3.rb
vips-8.8.2 example/example3.rb
ruby-vips-2.0.15 example/example3.rb
ruby-vips-2.0.14 example/example3.rb
vips-8.8.0.3 example/example3.rb
vips-8.8.0.2 example/example3.rb
vips-8.8.0.1 example/example3.rb