Fix BitmapFactory inSampleSize logic
Merge pull request #586 from t7costa/master

Fix BitmapFactory inSampleSize logic