Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1024730 // blurFilterBufferedImage - BlurFilter(1) (or other radii)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (13416L/77K).

static BufferedImage blurFilterBufferedImage(BufferedImage img) {
  ret blurFilterBufferedImage(1, img);
}

static BufferedImage blurFilterBufferedImage(int hradius, int vradius default hradius, BufferedImage img) {
  if (hradius <= 0 || vradius <= 0) ret img;
  ret new BoxBlurFilter(hradius, vradius).get(img);
}

Author comment

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: 174 / 297
Version history: 7 change(s)
Referenced in: [show references]