Your comments

I used Ducuments App's ‘open in’ feature. Maybe Documents is exporting the .jpg as .jpeg. Edit: So, checked it now and this seems to be the reason.