Non JPEG Metadata strip logic