in the case of square images there should be no rounding error when creating thumbnails
indent fix
Merge pull request #1 from ytg/ytg-bugfix

thumbnail resize bug?