1. A method comprising: obtaining information from a file of a compressed representation of an image; and locating a machine-readable code in a portion of compressed image data from the compressed representation of the image based on the information while the compressed image data is in a compressed format.