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

3
LINES

< > BotCompany Repo | #1003733 // changeBrightness - change brightness of BufferedImage

JavaX fragment (include)

static BufferedImage changeBrightness(BufferedImage src, float val) {
  return new RescaleOp(val, 0, null).filter(src, null);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003733
Snippet name: changeBrightness - change brightness of BufferedImage
Eternal ID of this version: #1003733/1
Text MD5: ffde9dfb739bc8dacc856f7009c03ece
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-26 16:38:58
Source code size: 129 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 521 / 518
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)