image_magick 0.1.4 → 0.1.5
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.
- checksums.yaml +4 -4
- data/image_magick.gemspec +3 -17
- data/lib/image_magick/version.rb +1 -1
- metadata +3 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4824e9153bb961392fa0784e595558b5da7d80f
|
4
|
+
data.tar.gz: e16f64d8c300b861f15a2bb05350afed9b4245db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5964e1555d5b949274989622644993cf21ace2c8517304a494f1d89b3635facabd4c33738cb7a062f56b62d6c715817b9ec91c219f83b50112b0274fddda571
|
7
|
+
data.tar.gz: a39ec02d285752d32855452ccd7308338ba0d69fb18b397aac84868b503b92266fa4c83516f2111a22f2ee81fd199fd4c533646c16ff487d923b7b41d64c6672
|
data/image_magick.gemspec
CHANGED
@@ -15,24 +15,10 @@ Gem::Specification.new do |spec|
|
|
15
15
|
relies on the binaries for Image Magic (identify and convert) to be available
|
16
16
|
on the system, and to be in the $PATH. I wrote this for my spouse, who needed
|
17
17
|
to resize scanned artwork for various art websites, such as 'etsy', 'artpal',
|
18
|
-
and 'art.com'.
|
19
|
-
format (png, tif, and jpg), or pixel dimensions. There are a few hard-coded
|
20
|
-
parts of the script, that don't hamper my use of it, but that I should bring
|
21
|
-
to attention.
|
22
|
-
Execute the script like this
|
23
|
-
shrink ./path/to/image [--size 100] [--type tif]
|
24
|
-
|
25
|
-
You only need to provide image. Size and type are defaulted to 100 megabytes
|
26
|
-
and tif respectively.
|
18
|
+
and 'art.com'.
|
27
19
|
|
28
|
-
|
29
|
-
|
30
|
-
the size of the image. the 'image' class will respond to things like 'size',
|
31
|
-
'width', and 'length'.
|
32
|
-
|
33
|
-
the 'shrink' algorithm is also fairly primitive. It iteratively tries
|
34
|
-
different sizes, using a binary search algorithm to find the best fit that
|
35
|
-
is as close to the maximum size as possible, without exceeding that size.
|
20
|
+
check out the readme on the github homepage for this gem, to get details on
|
21
|
+
usage and limitations.
|
36
22
|
EOS
|
37
23
|
spec.homepage = "https://github.com/tnordloh/image_magick"
|
38
24
|
|
data/lib/image_magick/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_magick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timothy Nordloh
|
@@ -42,17 +42,8 @@ description: " This is a very trivial implementation of an interface for Image
|
|
42
42
|
\ It\n relies on the binaries for Image Magic (identify and convert) to be available\n
|
43
43
|
\ on the system, and to be in the $PATH. I wrote this for my spouse, who needed\n
|
44
44
|
\ to resize scanned artwork for various art websites, such as 'etsy', 'artpal',\n
|
45
|
-
\ and 'art.com'.
|
46
|
-
|
47
|
-
\ parts of the script, that don't hamper my use of it, but that I should bring\n
|
48
|
-
\ to attention.\n Execute the script like this\n shrink ./path/to/image [--size
|
49
|
-
100] [--type tif]\n \n You only need to provide image. Size and type are defaulted
|
50
|
-
to 100 megabytes\n and tif respectively.\n\n\n The script is very primitive; it
|
51
|
-
runs the 'identify' command to find out\n the size of the image. the 'image' class
|
52
|
-
will respond to things like 'size', \n 'width', and 'length'. \n\n the 'shrink'
|
53
|
-
algorithm is also fairly primitive. It iteratively tries \n different sizes, using
|
54
|
-
a binary search algorithm to find the best fit that\n is as close to the maximum
|
55
|
-
size as possible, without exceeding that size.\n"
|
45
|
+
\ and 'art.com'. \n\n check out the readme on the github homepage for this gem,
|
46
|
+
to get details on\n usage and limitations.\n"
|
56
47
|
email:
|
57
48
|
- tnordloh@gmail.com
|
58
49
|
executables:
|