The solution compresses photo resize for steemant's using android.