Rajesh Olafson wrote:
> Helo
> 
> I have method that read a binary file - maybe a image, and return a byte
> array.
> 
> I want write the byte array to another file. But I keep writing the bytes as
> text. I want binary.
> 
> What need I do?
> 
> Rajesh.
> 

I'm guessing that you're on Windows. Open the file with the 'b' flag, 
i.e. 'wb'.

-- 
RMagick: http://rmagick.rubyforge.org/
RMagick 2: http://rmagick.rubyforge.org/rmagick2.html