check the writeInt, writeFloat, writeString, readInt, readFloat, readString, etc. commands in the help.
and for the image you could read the bytes from the bmp and write it in the file and when reading the file reconstruct the bmp file somewhere temporary. but that might be a bad idea ;)
and for the image you could read the bytes from the bmp and write it in the file and when reading the file reconstruct the bmp file somewhere temporary. but that might be a bad idea ;)