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

8
LINES

< > BotCompany Repo | #1019192 // mergeBufferedImagesVertically [with spacing]

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

Libraryless. Click here for Pure Java version (4592L/25K).

static BufferedImage mergeBufferedImagesVertically(BufferedImage... images) {
  ret mergeBufferedImagesVertically(asList(images));
}

static BufferedImage mergeBufferedImagesVertically(Cl<BufferedImage> images, O... _) {
  if (l(images) == 1) ret first(images);
  ret mergeImagesVertically(map toRGBImage(images), _).getBufferedImage();
}

Author comment

Began life as a copy of #1006081

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019192
Snippet name: mergeBufferedImagesVertically [with spacing]
Eternal ID of this version: #1019192/6
Text MD5: f67d3ca93b53464430e9dc286168c772
Transpilation MD5: 3735d7ba5ebc51d7db601de2860c4595
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-03 02:51:24
Source code size: 345 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 382 / 485
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)