zetbaitsu / Compressor

An android image compression library.
7.08k stars 963 forks source link

totalReqPixelsCap = reqWidth * reqHeight * 2; what this mean????? #58

Closed 08carmelo closed 7 years ago

08carmelo commented 7 years ago

When calculating the inSampleSize, why totalReqPixelsCap = reqWidth reqHeight 2; but not totalReqPixelsCap = reqWidth * reqHeight ;