Sha256: 2309936ab1746e44876a157f9545eeb96813be8e830c37413b259dfbb958416f

Contents?: true

Size: 242 Bytes

Versions: 2

Compression:

Stored size: 242 Bytes

Contents

#!/usr/bin/env ruby -w

require 'rubygems'
require 'qrtools'

img = QRTools::Image.load(ARGV[0])
25.step(3, -2) { |i|
  10.step(0, -1) { |j|
    body = QRTools::Decoder.decode(img, i, j).body
    next unless body
    puts body
    exit
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qrtools-1.0.0 bin/qrdecode
qrtools-1.0.1 bin/qrdecode