Make property checking on palette object a little more robust. JN
Avoid division by 0 on width calc. JN
If image height or width is 0, bail out of sizing routine. JN
If image height or width is 0, bail out of sizing routine. JN
Merge pull request #87 from trib3/master

Prevent errors when weird images are encountered