Merge pull request #5 from pranav/master

Because jonathan sucks at this game
should close file handles, not strings
Merge branch 'master' of https://github.com/pranav/dds2
Merge branch 'master' of github.com:jonathanwgoodwin/dds2
goodbye old friend
Seems legit.
No longer using php-imagemagick now just executing in the shell.
Merge branch 'master' of github.com:jonathanwgoodwin/dds2
Everyone uses globals right?