On Sun, 8 Jul 2007, Rolando Pereira wrote: > f = file("full_path_to_blah.png") > n = file("full_path_to_Ogg.png", "w") # We add "w", so that if > the file so that if the file > doesn't exist, it will be > created > > n.write(f.read()) > n.close() > > Presto, there should be now two similar images :D
If you're going to do it manually like this then you must open the files in "b"inary mode, or the images will be somewhat similar, but not the same. Richard