lib/image_voodoo/awt.rb in image_voodoo-0.8.3 vs lib/image_voodoo/awt.rb in image_voodoo-0.8.4

- old
+ new

@@ -200,10 +200,10 @@ end end def bytes_impl(format) out = ByteArrayOutputStream.new - write_new_image format, out + write_new_image format, ImageIO.create_image_output_stream(out) out.to_byte_array end def flip_horizontally_impl paint {|g| g.draw_image @src, 0, 0, width, height, width, 0, 0, height, nil}