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

7
LINES

< > BotCompany Repo | #1014996 // toRGBImage

JavaX fragment (include)

static RGBImage toRGBImage(BWImage img) {
  ret img == null ? null : img.toRGB();
}

static RGBImage toRGBImage(BufferedImage img) {
  ret img == null ? null : new RGBImage(img);
}

Author comment

Began life as a copy of #1014995

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014996
Snippet name: toRGBImage
Eternal ID of this version: #1014996/3
Text MD5: bbe6b53d0afb9aefd1e4b1ecb6e7c41d
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-27 14:34:02
Source code size: 186 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 467 / 487
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)