From: Brian Candler Date: 2012-11-04T07:22:11+09:00 Subject: Re: image hexcode Adriana Mikolaskova wrote in post #1082665: > Hello, > > how can I display an image as hexcode? I want to have the same Hex-Code, > that I get when I open the image in a Hex-Editor... bin = File.read("foo.jpg") hex = bin.unpack("H*").first puts hex -- Posted via http://www.ruby-forum.com/.