correation for jpg images with early ifd data

submitted by Hadas Groisman of XMPie