Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shrink bitmap before blur,then zoom bitmap after blured #25

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

RosesJack
Copy link

在对图片进行高斯模糊处理的Blur.java文件中,进行模糊之前先将要模糊的图片尺寸缩小,再对缩小的图片进行模糊处理,最后将图片放大,这样相比之前对图片处理的时间会缩小一半,而且模糊效果也会更加明显,理论上说ScriptIntrinsicBlur进行模糊的范围只能从0~25,而使用图片的尺寸缩放后进行模糊处理能突破这个范围的限制。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant