Getting the color of a pixel

.each_line do |line|

···

--
Posted via http://www.ruby-forum.com/.