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

5
LINES

< > TinyBrain | #1007273 - drawImageOnImage - works on BufferedImages

JavaX fragment (include)

// changes & returns canvas
static BufferedImage drawImageOnImage(BufferedImage img, BufferedImage canvas, int x, int y) {
  createGraphics(canvas).drawImage(img, x, y, null);
  ret canvas;
}

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1007273
Snippet name: drawImageOnImage - works on BufferedImages
Eternal ID of this version: #1007273/4
Text MD5: 66a011bc8ce62c6014be9bb94232c964
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-07 15:34:46
Source code size: 195 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 158 / 165
Version history: 3 change(s)
Referenced in: [show]