Sha256: 6589446d61719e0d7dc176346fe813083af87a07a49059177db2225d986fa2da

Contents?: true

Size: 177 Bytes

Versions: 1

Compression:

Stored size: 177 Bytes

Contents

require 'tempfile'
require 'jpeg.so'
class Jpeg
  def self.open_buffer(str)
    tmp = Tempfile::new("ruby-jpeg")
    jpeg = Jpeg.open(tmp.path)
    tmp.close
    jpeg
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jpeg-0.1.0 lib/jpeg.rb