le.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Parse the orientation from the image header. If it doesn't handle this image type (or this is not an image)
 it will return a default value rather than throwing an exception.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>The exif orientation if present or -1 if the header couldn't be parsed or doesn't contain an orientation
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://docs.oracle.c