is there a way to copy IMAGE files like we copy text files???
I used the example bellow to try and copy one, but it doen's work...
I tryed that with an IMAGE FILE (.PNG)... is there a binary copy or hexadecimal copy?? or something like that??Code:
infile = io.open(file_name, "r")
outfile = io.open("copy_" .. file_name, "w")
for line in infile:lines() do