bin/tracksperanto in tracksperanto-1.0.2 vs bin/tracksperanto in tracksperanto-1.0.4
- old
+ new
@@ -62,9 +62,11 @@
puts parser
exit(-1)
end
pipe = Tracksperanto::Pipeline::Base.new
+pipe.progress_block = lambda{|percent, msg| puts("#{msg}..#{percent.to_i}% complete") }
+
pipe.run(input_file, width, height, reader_klass) do | scaler, slipper, golden |
slipper.slip = slip
scaler.x_factor = scale_x
scaler.y_factor = scale_y
golden.enabled = golden_tracks
\ No newline at end of file