title: How can I generate Bitmap Pictures in Ruby on Rails
body: <p>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.</p>
  
  <p>Something like this:</p>
  
  <pre><code>myBitmap = new Bitmap(:width =&gt; Column.all.count, :height =&gt; 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 
  </code></pre>