Libraryless. Click here for Pure Java version (13416L/77K).
1 | static BufferedImage blurFilterBufferedImage(BufferedImage img) { |
2 | ret blurFilterBufferedImage(1, img); |
3 | } |
4 | |
5 | static BufferedImage blurFilterBufferedImage(int hradius, int vradius default hradius, BufferedImage img) { |
6 | if (hradius <= 0 || vradius <= 0) ret img; |
7 | ret new BoxBlurFilter(hradius, vradius).get(img); |
8 | } |
Began life as a copy of #1024724
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, elmgxqgtpvxh, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024730 |
Snippet name: | blurFilterBufferedImage - BlurFilter(1) (or other radii) |
Eternal ID of this version: | #1024730/8 |
Text MD5: | abf90d844b68372a211afa0a8c9b8020 |
Transpilation MD5: | fa1099bd97bd2d7c8382937fe3dfdd6d |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-17 22:24:11 |
Source code size: | 321 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 240 / 382 |
Version history: | 7 change(s) |
Referenced in: | [show references] |