Merge pull request #2 from d3athrow/master

Added storing of overall image width and height and now throws an except...