Added in jpg comparison