On Mon, Dec 7, 2009 at 4:38 PM, Alexandro Kez <alexandro.mail / gmail.com> wrote:
> Oh, no... I really like ruby, but this is just ridiculous such a high
> level language and no way to deal with such types of data?...
>

A JPEG is not a list of pixel values.  That's a bitmap.  JPEG uses
some awesome and very complex  mathematics to compress the image size
without losing much in the way of photo quality.  Ruby can cope with
JPEGs - you should look at the gist URL Rob provided or at RMagick.
-- 
Paul Smith
http://www.nomadicfun.co.uk

paul / pollyandpaul.co.uk