It would be more ideal that the graphics softare with which you create your images in the first place, saves the data in the correct manner
True, but if you are getting someone else to do the graphics, you haven't got much of a choice...
BTW When I was quickly commenting the code, I got the left and right comments back to front... ;-)