From: Thomas E Enebo Date: 2012-05-04T06:07:08+09:00 Subject: Re: How can i load image and display it using ruby? There is a jruby-specific library which can do this simply: jruby -rubygems samples/file_view.rb ~/Pictures/hand_sanitizer.jpg file_view.rb: require 'image_voodoo' ImageVoodoo.with_image(ARGV[0]) { |img| img.preview } Some other samples: https://github.com/jruby/image_voodoo/tree/59a231627a1296cd143303147c1aeeeaad093077/samples image_voodoo also comes with a command-line util: jruby -S image_voodoo --preview --flip_vertically --preview ~/Pictures/hand_sanitizer.jpg image_voodoo --help for other options -Tom jruby -S image_voodoo --preview -- On Thu, May 3, 2012 at 5:34 AM, gmspro gmspro wrote: > Which library/api is used to load and display image using ruby? > How can i do it? > Can anyone post complete code? > > -- > Posted via http://www.ruby-forum.com/. > -- blog: http://blog.enebo.com       twitter: tom_enebo mail: tom.enebo@gmail.com