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

7
LINES

< > BotCompany Repo | #1009822 - whiteImage - make all-white BufferedImage with defined size

JavaX fragment (include)

static BufferedImage whiteImage(int w, int h) {
  ret newBufferedImage(w, h, Color.white);
}

static BufferedImage whiteImage(int size) {
  ret whiteImage(size, size);
}

Author comment

Began life as a copy of #1007136

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1009822
Snippet name: whiteImage - make all-white BufferedImage with defined size
Eternal ID of this version: #1009822/4
Text MD5: 877e246c87f17d006a61ae7b21673be8
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-26 00:02:55
Source code size: 175 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 239 / 240
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1009822 & http://1009822.tinybrain.de