1. A method of determining integrity of images, comprising: obtaining an image file having both image data and non-image data; generating at least one code based on the non-image data at the time of creation of the image file; and incorporating the code into the image data such that the code is not visually detectable.