Check start of jpeg