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

5
LINES

< > BotCompany Repo | #1006883 // rgbMarkedRects - make cloned image with marked rectangles

JavaX fragment (include)

static RGBImage rgbMarkedRects(RGBImage img, Collection<Rect> rects) {
  BufferedImage bi = cloneBufferedImage(img.getBufferedImage());
  drawBoxes(bi, rectsToRectangles(rects), Color.red, 1);
  ret new RGBImage(bi);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006883
Snippet name: rgbMarkedRects - make cloned image with marked rectangles
Eternal ID of this version: #1006883/5
Text MD5: f39888e5adea0cb76aebe4377a120eff
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-14 01:37:16
Source code size: 222 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 504 / 503
Version history: 4 change(s)
Referenced in: [show references]