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

7
LINES

< > BotCompany Repo | #1034007 // test_bufferedImageMeta

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4999L/29K).

1  
svoid test_bufferedImageMeta() {
2  
  var img = whiteImage(10, 10);
3  
  print(img.getPropertyNames());
4  
  var img2 = time("clone img",
5  
    -> cloneBufferedImageWithMetaSrc("hello", img));
6  
  assertEqualsVerbose("hello", getMetaSrc(img2));
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034007
Snippet name: test_bufferedImageMeta
Eternal ID of this version: #1034007/2
Text MD5: a60b96963f86f1d58209680ab0eab854
Transpilation MD5: 7f37f09b25bc31fef8acf7c4ce5c206f
Author: stefan
Category: javax / reasoning
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-16 23:53:38
Source code size: 239 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 224
Version history: 1 change(s)
Referenced in: [show references]