Ok for the people who are interested what the answer is of this verry 
long story!
here is the code !

require "rubygems"
require 'RMagick'
include Magick

img = ImageList.new("PNG.png")
i=0
img.each_pixel { |pixel, c, r|
  if pixel.red.to_i== 255 #if white
    puts i
    i=0
  else #else it is black
    i=i+1
  end
}
puts i


Ok it doesn't set the "i" into ascii and then translates it to morsecode 
(that will be the next step) ...
AGAIN THANXS GUYS ! really appreciate it :P
-- 
Posted via http://www.ruby-forum.com/.