desoto-photoapp 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/photoapp/photo.rb +3 -3
- data/lib/photoapp/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: ee0509b9e922f8434eba9857103a7e74c0a009481994ab62742cf3db9b990d07
|
4
|
+
data.tar.gz: 8ce5cd7ec79350f15c89be82fcb1937e005ce41d3aa8e513488487b882230b1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a9d20b289a1d493faf57ecc611cdf2eb0c09fc2d7f65e9827481f632eb69af564c3dedea6e35a3da6abdd10eded8a015048a0bbe07d8751586a107ab3a3b7b6
|
7
|
+
data.tar.gz: e5a0dca832e55b3aa39fd81d285d3c4804c23fd8a2fe3ba9511ba2c254bfc77571121f56eff3e85b92212699170ff86a1eec8245c5ced3f86d02dc9b1c125781
|
data/lib/photoapp/photo.rb
CHANGED
@@ -23,9 +23,9 @@ module Photoapp
|
|
23
23
|
def watermark
|
24
24
|
@watermarked ||= begin
|
25
25
|
date = date_text
|
26
|
-
image.composite(logo, SouthWestGravity, 50,
|
27
|
-
.composite(date[0], SouthWestGravity,
|
28
|
-
.composite(date[1], SouthWestGravity,
|
26
|
+
image.composite(logo, SouthWestGravity, 50, 45, OverCompositeOp)
|
27
|
+
.composite(date[0], SouthWestGravity, 0, -10, OverCompositeOp)
|
28
|
+
.composite(date[1], SouthWestGravity, 0, -10, OverCompositeOp)
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
data/lib/photoapp/version.rb
CHANGED