Add support to retrieve custom product ID information from image header.