hamidashi 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hamidashi.rb +1 -1
- data/lib/hamidashi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32c708bb23a9090277add5311adc7979d715d65b
|
4
|
+
data.tar.gz: 0f029059449c5d1dcf1fe98d48ee9e361e0bf903
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc4e66ee2e305a6a3c82b1212b78b1c4fed4f4f30efc2a989a0f7f0e65c74003360ec0b2c59fba6663dfcc28b5a50f5f4c00e01bb51f30a8d2d30a07c6702bf7
|
7
|
+
data.tar.gz: c98d83ae98bb74905c3d17b645109c14f967582d8fa9188c54476e7f103fd17d9cc031a6e1d47ef6c4f266e82a967b0ab869607716ab3a05e966ced4f2a2c4f2
|
data/lib/hamidashi.rb
CHANGED
@@ -16,7 +16,7 @@ class Hamidashi
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def save_preview_page(pdf_path, page, path)
|
19
|
-
`convert -density 92 -geometry #{width} -fill "rgba(
|
19
|
+
`convert -density 92 -geometry #{width} -fill "rgba(0, 255, 0, 50%)" -strokewidth 0 -draw "rectangle #{width - crop_width},#{height},#{width},0" "#{pdf_path.shellescape}[#{page.shellescape}]" #{path.shellescape}`
|
20
20
|
end
|
21
21
|
|
22
22
|
private
|
data/lib/hamidashi/version.rb
CHANGED