Libraryless. Click here for Pure Java version (26387L/166K).
static ImageSurface test_ScanlineBitMatrix() { var m = randomBitMatrix(8, 8); print(m); var m2 = ScanlineBitMatrix(m); printStructIndented(m2); assertTrue(matricesEqual(m, m2)); ret pixelatedZoomedImageSurface(bitMatricesToImage(m, m2)); }
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: | 122 / 185 |
Version history: | 1 change(s) |
Referenced in: | [show references] |