Merge pull request #1 from dangrmous/0.5a

0.5a
Made orientation correction optional based on availablility of imagerotate() function in gd (missing from sone linux distros)