imogen 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/imogen.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTI4Y2ZkMGUzMGQ5Mjg4NmI3NmRmZTQxMTkyM2VlMDJlY2FiMzhmYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZmQ3M2I5NDc5ZDg5MjNiNGUyYTAxZDNmNDFiZjg5NmI0ZmExMzYzNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzE0NDE0N2U1Y2M5NTA5OTNkZjJhOTdjN2FjM2Y2ZTUzMmZlZGU4MTZhMGY1
|
10
|
+
NjkwN2E3NmFiNTNlZjRlYzUwOWYzYTk5MDIwNTFhZTZiZDgxMjIzNmFkNGJl
|
11
|
+
YmRkMWUzMWQwM2YyZDUwMjFjOTE3ZGY5NzE0NzNkMDJiYTMzZTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODRkMDgwMmRkMmE2YjY1ZGU5NWRlNmMxZDJhNmM5NTU2ZTQ0YWQwNDU5MzVl
|
14
|
+
YWIxZDNiM2NlYjQ5ZjBlYTUwZDRiZWE2NGU2YWJhNWYxZWY4NTQxMGVkMjcx
|
15
|
+
NWI0ODZiNjQ2NmMzMzZhOGEwOTY5ZTY3MDk2NWVkZGIzMzJiNDM=
|
data/lib/imogen.rb
CHANGED
@@ -90,7 +90,7 @@ module Imogen
|
|
90
90
|
fif = format_from(src_path)
|
91
91
|
if ((fif != :unknown) and FreeImage.FreeImage_FIFSupportsReading(fif))
|
92
92
|
ptr = FreeImage.FreeImage_Load(fif, src_path, flags)
|
93
|
-
FreeImage.check_last_error
|
93
|
+
FreeImage.check_last_error(ptr)
|
94
94
|
return FreeImage::Bitmap.new(ptr, nil)
|
95
95
|
end
|
96
96
|
return nil
|
@@ -100,7 +100,7 @@ module Imogen
|
|
100
100
|
fif = format_from(src_path)
|
101
101
|
if ((fif != :unknown) and FreeImage.FreeImage_FIFSupportsReading(fif))
|
102
102
|
ptr = FreeImage.FreeImage_Load(fif, src_path, flags)
|
103
|
-
FreeImage.check_last_error
|
103
|
+
FreeImage.check_last_error(ptr)
|
104
104
|
FreeImage::Bitmap.new(ptr, nil, &block)
|
105
105
|
end
|
106
106
|
end
|