From: Paul Smith Date: 2009-12-08T01:56:37+09:00 Subject: Re: Reading Images On Mon, Dec 7, 2009 at 4:38 PM, Alexandro Kez 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