Internally embedded in the image file, in formats such as JPEG or TIFF. Externally outside the image file in a digital asset management (DAM) or by a "sidecar" file, such as XMP, or an external XML-based news exchange for mat file as specified by the IPTC. There are 3 main categories of data: