desoto-photoapp 0.3.7 → 0.3.8
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44b0bf77f0cf05ddb572648d3a435d26e6607bea
|
4
|
+
data.tar.gz: 2cba2ec59cc911a932d11c2d787a69ecc983ba26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8ccd155daf0e2afa2b3aed7ca1676afa9142385a95e2b514d10e11c42c08e0f23d3b49532935fc22808089d4a6aab1ef0dbb51091897748f7acd8059593c29
|
7
|
+
data.tar.gz: 914444f49c58d81c4963f93db494de75e765f3c18c0689c64bd36f4e38a79929d2f05f30b321747689da2ac7c5317457999fc961996c52a3cd84965cee4c30ae
|
data/lib/photoapp/photo.rb
CHANGED
@@ -21,7 +21,7 @@ module Photoapp
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def watermark
|
24
|
-
@watermarked ||= image.composite(logo, SouthWestGravity,
|
24
|
+
@watermarked ||= image.composite(logo, SouthWestGravity, 80, 40, OverCompositeOp)
|
25
25
|
end
|
26
26
|
|
27
27
|
def with_url
|
@@ -29,8 +29,8 @@ module Photoapp
|
|
29
29
|
light_url = add_url("#fff")
|
30
30
|
dark_url = add_url("#000", true).blur_image(radius=6.0, sigma=2.0)
|
31
31
|
watermark.dup
|
32
|
-
.composite(dark_url, SouthEastGravity,
|
33
|
-
.composite(light_url, SouthEastGravity,
|
32
|
+
.composite(dark_url, SouthEastGravity, 80, 40, OverCompositeOp)
|
33
|
+
.composite(light_url, SouthEastGravity, 80, 40, OverCompositeOp)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
data/lib/photoapp/version.rb
CHANGED