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

9
LINES

< > BotCompany Repo | #1019533 // mergeRGBImagesAndRects

JavaX fragment (include)

static BufferedImage mergeRGBImagesAndRects(L<? extends RGBImageAndRect> l) {
  new L<BufferedImage> images;
  for (RGBImageAndRect i : l) {
    BufferedImage img2 = toBufferedImage(i.image);
    drawRect(img2, i.rect, Color.white);
    images.add(img2);
  }
  ret mergeBufferedImagesVertically(images);
}

Author comment

Began life as a copy of #1019196

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019533
Snippet name: mergeRGBImagesAndRects
Eternal ID of this version: #1019533/2
Text MD5: d924c0d1de5475e7a83ce0500e90965c
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-12 00:26:26
Source code size: 313 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 272 / 304
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)