check file extension against contents, try another method of checking transparency
Merge pull request #111 from ccd0/master

check file extension against contents, try another method of checking transparency