Libraryless. Click here for Pure Java version (4881L/28K).
static BufferedImage cloneBufferedImageWithMetaSrc(O src, BufferedImage img) { if (img == null) null; img = cloneBufferedImageWithMeta(img); setMetaSrc(img, src); assertSame("cloneBufferedImageWithMetaSrc", getMetaSrc(img), src); ret img; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034005 |
Snippet name: | cloneBufferedImageWithMetaSrc - make another instance of a BufferedImage with same contents plus a meta src |
Eternal ID of this version: | #1034005/9 |
Text MD5: | 0dfbf34306958215917c0489fc89aaa4 |
Transpilation MD5: | 0cf16c03561ed039934a74f22b495b68 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-17 01:09:25 |
Source code size: | 256 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 152 / 237 |
Version history: | 8 change(s) |
Referenced in: | [show references] |