hornetseye-rmagick 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/hornetseye-rmagick/image.rb +6 -6
- metadata +3 -3
data/Rakefile
CHANGED
@@ -62,11 +62,11 @@ module Magick
|
|
62
62
|
when BilevelType, GrayscaleType, GrayscaleMatteType
|
63
63
|
case depth
|
64
64
|
when 32
|
65
|
-
to_type UINT
|
65
|
+
to_type Hornetseye::UINT
|
66
66
|
when 16
|
67
|
-
to_type USINT
|
67
|
+
to_type Hornetseye::USINT
|
68
68
|
when 1, 8
|
69
|
-
to_type UBYTE
|
69
|
+
to_type Hornetseye::UBYTE
|
70
70
|
else
|
71
71
|
Kernel.raise "Conversion for grayscale image with depth #{depth} not " +
|
72
72
|
"implemented"
|
@@ -74,11 +74,11 @@ module Magick
|
|
74
74
|
when PaletteType, PaletteMatteType, TrueColorType, TrueColorMatteType
|
75
75
|
case depth
|
76
76
|
when 32
|
77
|
-
to_type UINTRGB
|
77
|
+
to_type Hornetseye::UINTRGB
|
78
78
|
when 16
|
79
|
-
to_type USINTRGB
|
79
|
+
to_type Hornetseye::USINTRGB
|
80
80
|
when 8
|
81
|
-
to_type UBYTERGB
|
81
|
+
to_type Hornetseye::UBYTERGB
|
82
82
|
else
|
83
83
|
Kernel.raise "Conversion for colour image with depth #{depth} not " +
|
84
84
|
"implemented"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hornetseye-rmagick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 1
|
10
|
+
version: 1.0.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jan Wedekind
|