You should be able to open the picture with some simple picture viewing or editing software then rotate it 180 degrees.
Not sure what is on the iPad to do this, but open the picture and see what options are available.
Next time hold the iPad the other way up (180 degress from what you did last time). Or as geezer says, next time stand on your head.