image_proc 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/lib/image_proc.rb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
data/lib/image_proc.rb
CHANGED
@@ -9,7 +9,7 @@ require 'open3'
|
|
9
9
|
# The whole idea is: a backend does not have to support cropping (we don't do it), it has only to be able to resize,
|
10
10
|
# and a backend should have 2 public methods. That's the game.
|
11
11
|
class ImageProc
|
12
|
-
VERSION = '2.1.
|
12
|
+
VERSION = '2.1.1'
|
13
13
|
|
14
14
|
class Error < RuntimeError; end
|
15
15
|
class MissingInput < Error; end
|
@@ -294,7 +294,7 @@ ImageProc.keep_quiet do
|
|
294
294
|
|
295
295
|
HARMLESS = [/unknown field with tag/]
|
296
296
|
def process_exact
|
297
|
-
wrap_stderr("#{self.class.convert_bin}/convert -filter
|
297
|
+
wrap_stderr("#{self.class.convert_bin}/convert -filter Lanczos -resize #{@target_w}x#{@target_h}! -strip #{@source} #{@dest}")
|
298
298
|
end
|
299
299
|
|
300
300
|
def get_bounds(of)
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: image_proc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 2.1.
|
5
|
+
version: 2.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Julik
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-10-23 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hoe
|