Sha256: 61f6d36b995fadd164f55097b24409ac653358eb0613a10f893d5c9f86bc41a8
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
require 'washi/config' module Washi class Tiler def self.call(input_path, output_path, options={}) unless tile_size = options[:tile_size] fail "Need pass :tile_size" end `#{Washil.config.binapath} #{input_path} #{output_path} --tile-size #{tile_size} --overlap #{Washil.config.overlap} #{Washil.config.options.join(" ")}` end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
washi-0.1.1 | lib/washi/tiler.rb |