Sha256: 5ec0347f5a9f9a6f51e02a24ea9a9a07bc9eda15c6911322e4d1384b00ca59ae

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

module Washi
  class Tiler
    def self.call(input_path, output_path, options={})
      unless tile_size = options[:tile_size]
        fail "Need pass :tile_size"
      end
      `vips dzsave #{input_path} #{output_path} --tile-size #{tile_size} --overlap 0 --vips-progress --vips-leak`
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
washi-0.1.0 lib/washi.rb