java - bitmap压缩时 设置options.inSampleSize失效
PHP中文网
PHP中文网 2017-04-18 09:34:21
0
1
581
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
PHPzhong

You should be practicing the official code.

imsampleIt’s just reduced to a fraction of the original size, and it can only be a power of 2.

Scaling to the original size 3/4的话,你看下是不是optionsOther properties, I remember there are two other properties that can adjust the scaling ratio.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!