What's the best way to generate Pictures, Pixel by Pixel in Ruby on Rails. I have a two-dimenisonal matrix with all the color values for each pixel, which i want to vizualize.
Something like this:
myBitmap = new Bitmap(:width => Column.all.count, :height => Row.all.count)
Colum.all.each do |col|
Row.all.each do |row|
#Draw the Pixel, with the color information in the matrix
end
end