Guy,

this works! thanks a lot.

can you explain?

> T>  outfile = File.new("title_main.gif","w")
> 
>  Are you on an DOS system ?
> 
>  If yes, try
> 
>     outfile = File.new("title_main.gif","wb")

-- 
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.htm