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

10
LINES

< > BotCompany Repo | #1010161 // Test md5OfTransparentImage [OK]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (1436L/10K).

!7

p {
  BufferedImage img = loadImage2(#1010143);
  S md5a, md5b;
  print(md5a = md5OfTransparentImage(img));
  print(md5b = md5OfBufferedImage(img));
  assertEquals(md5a, md5b); // Should be the same for non-transparent images
  print("OK");
}

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: #1010161
Snippet name: Test md5OfTransparentImage [OK]
Eternal ID of this version: #1010161/4
Text MD5: 4acf05e2ff27c4aa32e4f001d9a12f30
Transpilation MD5: 673e394ae4ad768f553f0e42f3c4763d
Author: stefan
Category: javax / imaging
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-05 17:45:44
Source code size: 255 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 380 / 840
Version history: 3 change(s)
Referenced in: [show references]