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

6
LINES

< > BotCompany Repo | #1019181 // onClipboardImage

JavaX fragment (include)

static AutoCloseable onClipboardImage(final VF1<BufferedImage> f) {
  ret vmBus_onMessage('newClipboardContents, voidfunc(fO o) {
    final BufferedImage img = toBufferedImageOpt(o);
    if (img != null) callF(f, img);
  });
}

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: #1019181
Snippet name: onClipboardImage
Eternal ID of this version: #1019181/2
Text MD5: 1a7b6e756f03eb986453fc4503e53c35
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 12:51:44
Source code size: 231 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 301 / 346
Version history: 1 change(s)
Referenced in: [show references]