Skip to content

Instantly share code, notes, and snippets.

View rolandoam's full-sized avatar

Rolando Abarca rolandoam

View GitHub Profile
#!/usr/bin/env ruby
if ARGV.size < 3
puts "usage: #{__FILE__} <start_no> <end_no> <output_dir> [quality]"
exit 1
end
start_no = ARGV[0].to_i
end_no = ARGV[1].to_i
output_dir = ARGV[2]