rmagick4j 0.3.2-java → 0.3.3-java

Sign up to get free protection for your applications and to get access to all the features.
data/lib/RMagick.jar CHANGED
Binary file
data/lib/magick4j.jar CHANGED
Binary file
@@ -129,7 +129,7 @@ class Image
129
129
  # TODO Use info somehow
130
130
  info = Info.new(&add)
131
131
  # TODO multiple images in file
132
- [Image.new(Magick4J.MagickImage.fromBlob(RMagick4J.JRubyUtil.toByteArray(blob)))]
132
+ [Image.new(Magick4J.MagickImage.fromBlob(blob.to_java_bytes))]
133
133
  end
134
134
 
135
135
  def self.read(file, &add)
@@ -226,7 +226,7 @@ class Image
226
226
  # TODO Use info.
227
227
  info = Info.new(&add)
228
228
  @image.setFormat(info.format) if info.format
229
- RMagick4J.JRubyUtil.toString(@image.toBlob)
229
+ String.from_java_bytes(@image.toBlob)
230
230
  end
231
231
 
232
232
  def write(file, &add)
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  cert_chain:
3
- rubygems_version: 0.9.1
3
+ rubygems_version: 0.9.4
4
4
  description: RMagick4J is a JRuby back end to support the RMagick library. It bundles
5
5
  a Java library called Magick4J that implements ImageMagick and some RMagick native
6
6
  functionality.
7
7
  version: !ruby/object:Gem::Version
8
- version: 0.3.2
8
+ version: 0.3.3
9
9
  requirements: []
10
10
  test_files: []
11
11
  bindir: bin
@@ -55,7 +55,7 @@ files:
55
55
  - lib/svgsalamander.jar
56
56
  platform: java
57
57
  rubyforge_project: jruby-extras
58
- date: 2007-05-25 07:00:00 +00:00
58
+ date: 2007-06-05 07:00:00 +00:00
59
59
  authors:
60
60
  - Tom Palmer
61
61
  extra_rdoc_files: []