Libraryless. Click here for Pure Java version (26387L/166K).
1 | static ImageSurface test_ScanlineBitMatrix() {
|
2 | var m = randomBitMatrix(8, 8); |
3 | print(m); |
4 | var m2 = ScanlineBitMatrix(m); |
5 | printStructIndented(m2); |
6 | assertTrue(matricesEqual(m, m2)); |
7 | ret pixelatedZoomedImageSurface(bitMatricesToImage(m, m2)); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033839 |
| Snippet name: | test_ScanlineBitMatrix |
| Eternal ID of this version: | #1033839/2 |
| Text MD5: | 96194892f1cc0e5a1bc4ecec0b17058c |
| Transpilation MD5: | aff512b7edf1baee62178cbb6a198d90 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-06 23:26:27 |
| Source code size: | 258 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 344 / 460 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |