------art_32118_7057964.1213222111164
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

>
>> 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'.
>

Thank you.
no. I use linux ubuntu. shold have said that before.

With my file write I just get text in the file. Not binary.
?

Rajesh.


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

------art_32118_7057964.1213222111164--