Resize dimensions of image with external XMP metadata to fit max texture width