Improve imageDominant()
Bug fix: empty file hasn't any extension
Merge branch 'release/v1.2.2'