Download Jar. Libraryless. Click here for Pure Java version (8715L/60K).
1 | !7 |
2 | |
3 | p {
|
4 | BWImage bw = shootScreenBW(); |
5 | RGBImage rgb1 = bw.toRGB(); |
6 | RGBImage rgb2 = bw.toRGB_slow(); |
7 | print(rgbMD5(rgb1)); |
8 | print(rgbMD5(rgb2)); |
9 | for x to 100: |
10 | print(intToHex(rgb1.getInt(x, x)) + " " + intToHex(rgb2.getInt(x, x))); |
11 | showImage(rgb1); |
12 | } |
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: | #1015432 |
| Snippet name: | Test BWImage.toRGB (OK) |
| Eternal ID of this version: | #1015432/6 |
| Text MD5: | 903197deb508eebdd1d543a825660548 |
| Transpilation MD5: | 9b37bd748aaf8b18294c106586367e85 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-13 23:07:21 |
| Source code size: | 274 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 735 / 1612 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |