magick_filter 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce547aca1a4054dd08d227c7d6945301d6a9f95ead65e9250d57f7b278acc529
4
- data.tar.gz: a81d9eb4d20f844fbb4c81fdf2818808d24c9994489748c7954c3a1a1c09c63f
3
+ metadata.gz: 951224b51f5c1c5fdbc210c446bfda63de83281fad3bf3d3b72d28efd6d80919
4
+ data.tar.gz: a6223fc4965436908dc014c34f9e89b6ba13a947e7adf67afa9e18952b303034
5
5
  SHA512:
6
- metadata.gz: ad9545fcbb6424f065a08179280cbf984b769560358fe6ce2dc0b46ea81805138ccc9e0ec23bba8e2f9669f06de3508e8e606ff5941a7d28a5b498020814c074
7
- data.tar.gz: 85b69aaefd7f61048616e213c7cdef6426a5d17d2de22a5a298bf621df6eae1fbb9010f7d1ed35d587c33a30c6e6baaa5e8d5cfaa056db9c8891a9b253323ab5
6
+ metadata.gz: 99b638d927b61b1272034e6b7ab3441999771f1e8c2c5a20b9120a17eca4c1ce5a5e23f2547ab21a44e239c84f42588ca1b8eaaf13c3b5ec9d971fc333b63fe6
7
+ data.tar.gz: 8842a9d42565315d546ee8159825fc70029777eb22fba8feca52c6f60a09737eabbca85ba5c937e2b7730b4e14f136590bf11ba1a6fec133314455831aa0b5c0
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <a href="https://badge.fury.io/rb/magick_filter"><img src="https://badge.fury.io/rb/magick_filter.svg" alt="Gem Version" height="18"></a>
2
+
1
3
  # MagickFilter
2
4
 
3
5
  This Gem is an attempt to build Ruby Gem and release it to [rubygems.org](https://rubygems.org). If you want to convert your photo with some cool filters, you are at right place. This Gem is in early stage. I'll keep on adding some more filters and features with time.
@@ -32,7 +34,7 @@ In present there are five filters available in this Gem. Use the given below com
32
34
  <img src="/test_image/test.jpg" alt="Original" width=450 height=298 />
33
35
 
34
36
 
35
- ### For Sketch Filter
37
+ ### Sketch Filter
36
38
 
37
39
  **`MagickFilter::Tool.process(image_path, "sketch")`**
38
40
 
@@ -40,7 +42,7 @@ In present there are five filters available in this Gem. Use the given below com
40
42
  <img src="/test_image/sketch.jpg" alt="Sketch" width=450 height=298 />
41
43
 
42
44
 
43
- ### For Gold Filter
45
+ ### Gold Filter
44
46
 
45
47
  **`MagickFilter::Tool.process(image_path, "gold")`**
46
48
 
@@ -48,7 +50,7 @@ In present there are five filters available in this Gem. Use the given below com
48
50
  <img src="/test_image/gold.jpg" alt="Gold" width=450 height=298 />
49
51
 
50
52
 
51
- ### For Poster Filter
53
+ ### Poster Filter
52
54
 
53
55
  **`MagickFilter::Tool.process(image_path, "poster")`**
54
56
 
@@ -56,7 +58,7 @@ In present there are five filters available in this Gem. Use the given below com
56
58
  <img src="/test_image/poster.jpg" alt="Poster" width=450 height=298/>
57
59
 
58
60
 
59
- ### For Bright Filter
61
+ ### Bright Filter
60
62
 
61
63
  **`MagickFilter::Tool.process(image_path, "bright")`**
62
64
 
@@ -64,7 +66,7 @@ In present there are five filters available in this Gem. Use the given below com
64
66
  <img src="/test_image/bright.jpg" alt="Bright" width=450 height=298 />
65
67
 
66
68
 
67
- ### For Black & White Filter
69
+ ### Black & White Filter
68
70
 
69
71
  **`MagickFilter::Tool.process(image_path, "bw")`**
70
72
 
@@ -72,6 +74,62 @@ In present there are five filters available in this Gem. Use the given below com
72
74
  <img src="/test_image/black&white.jpg" alt="Black & White" width=450 height=298 />
73
75
 
74
76
 
77
+ ### Peach Filter
78
+
79
+ **`MagickFilter::Tool.process(image_path, "peach")`**
80
+
81
+
82
+ <img src="/test_image/peach.jpg" alt="peach" width=450 height=298 />
83
+
84
+
85
+ ### Navy Filter
86
+
87
+ **`MagickFilter::Tool.process(image_path, "navy")`**
88
+
89
+
90
+ <img src="/test_image/navy.jpg" alt="navy" width=450 height=298 />
91
+
92
+
93
+ ### Firebrick Filter
94
+
95
+ **`MagickFilter::Tool.process(image_path, "firebrick")`**
96
+
97
+
98
+ <img src="/test_image/firebrick.jpg" alt="firebrick" width=450 height=298 />
99
+
100
+
101
+ ### Contrast Filter
102
+
103
+ **`MagickFilter::Tool.process(image_path, "contrast")`**
104
+
105
+
106
+ <img src="/test_image/contrast.jpg" alt="contrast" width=450 height=298 />
107
+
108
+
109
+ ### Poster2 Filter
110
+
111
+ **`MagickFilter::Tool.process(image_path, "poster2")`**
112
+
113
+
114
+ <img src="/test_image/poster2.jpg" alt="poster2" width=450 height=298 />
115
+
116
+
117
+ ### Rough Filter
118
+
119
+ **`MagickFilter::Tool.process(image_path, "rough")`**
120
+
121
+
122
+ <img src="/test_image/rough.jpg" alt="rough" width=450 height=298 />
123
+
124
+
125
+ ### Sepia Filter
126
+
127
+ **`MagickFilter::Tool.process(image_path, "sepia")`**
128
+
129
+
130
+ <img src="/test_image/sepiya.jpg" alt="sepia" width=450 height=298 />
131
+
132
+
75
133
  ## Contributing
76
134
 
77
135
  Bug reports and pull requests are welcome on GitHub at https://github.com/arvind02/magick_filter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
@@ -3,7 +3,17 @@ module Filter
3
3
  gold: "+level-colors green,gold",
4
4
  poster: "+dither -posterize 6",
5
5
  bright: "-sigmoidal-contrast 4,0%",
6
- bw: "-type Grayscale"}
6
+ bw: "-type Grayscale",
7
+ peach: "+dither -colors 2",
8
+ navy: "+level-colors navy,lemonchiffon",
9
+ firebrick: "+level-colors firebrick,yellow",
10
+ contrast: "-sigmoidal-contrast 10,50%",
11
+ poster2: "+dither -posterize 4",
12
+ rough: "-dither FloydSteinberg -colors 8",
13
+ sepia: "-sepia-tone 80%"}
7
14
 
8
15
  WRITE_PATH = "/tmp"
9
- end
16
+ end
17
+
18
+
19
+
@@ -1,3 +1,3 @@
1
1
  module MagickFilter
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magick_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - arvind02
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-21 00:00:00.000000000 Z
11
+ date: 2018-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -77,9 +77,16 @@ files:
77
77
  - magick_filter.gemspec
78
78
  - test_image/black&white.jpg
79
79
  - test_image/bright.jpg
80
+ - test_image/contrast.jpg
81
+ - test_image/firebrick.jpg
80
82
  - test_image/free-images.jpg
81
83
  - test_image/gold.jpg
84
+ - test_image/navy.jpg
85
+ - test_image/peach.jpg
82
86
  - test_image/poster.jpg
87
+ - test_image/poster2.jpg
88
+ - test_image/rough.jpg
89
+ - test_image/sepiya.jpg
83
90
  - test_image/sketch.jpg
84
91
  - test_image/test.jpg
85
92
  homepage: https://github.com/arvind02/magick_filter