dmtx 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/dmtx/data_matrix.rb +1 -1
- data/lib/dmtx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a114ad5037384a5dd7a9944663ff50f2ef82b5ccefdcf9f415cf1e364dbd6bb5
|
4
|
+
data.tar.gz: 4b3346d6d27a62311a04df3c6ea459ee1524920811d7d5b34104fbf61185923b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '01866bc5320e4c56a495eed7c2671871b64dc7d84af57e4d3aa15078617d69aca943da63386b62fcd2e4efb1ee73d9c30b58ff9443651e2ba304237b1a2135a6'
|
7
|
+
data.tar.gz: 6b8e0d0d64248af532a77c4407dc884fea29cba0428115733bf3a046fde586c57eea2b3fab5b963c4f81c3c233f5c0f2cf626bb2d3069b208cb38a73f6c64746
|
data/CHANGELOG.md
CHANGED
data/lib/dmtx/data_matrix.rb
CHANGED
@@ -104,7 +104,7 @@ module Dmtx
|
|
104
104
|
bgcolor = bgcolor ? ChunkyPNG::Color(bgcolor) : ChunkyPNG::Color::TRANSPARENT
|
105
105
|
width_px = mod * (width + pad * 2)
|
106
106
|
height_px = mod * (height + pad * 2)
|
107
|
-
png = ChunkyPNG::Image.new(width_px, height_px,
|
107
|
+
png = ChunkyPNG::Image.new(width_px, height_px, bgcolor)
|
108
108
|
sx = sy = mod * pad
|
109
109
|
(0..(height - 1)).each do |y|
|
110
110
|
(0..(width - 1)).each do |x|
|
data/lib/dmtx/version.rb
CHANGED