Sha256: 52472c5cba664fbf4a0a97f77d260d90d5a12fa8ff26265e499ac0f725380d5e
Contents?: true
Size: 244 Bytes
Versions: 1
Compression:
Stored size: 244 Bytes
Contents
require 'benchmark' require './lib/psd' file = ARGV[0] || 'examples/images/example.psd' results = Benchmark.measure "Image exporting" do psd = PSD.new(file) psd.image.save_as_png 'output.png' end puts Benchmark::CAPTION puts results.to_s
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bench9000-0.1 | vendor/psd.rb/examples/export_image.rb |