Libraryless. Click here for Pure Java version (4673L/27K).
sclass Test_rgbaWithSizeToIntMatrix_roundTrip { BufferedImage img = randomImage(50), img2; L<Int> intList; Matrix<Int> matrix; run { intList = imagePixelsToRGBAWithSize_virtualIntList(img); matrix = rgbaWithSizeToIntMatrix(intList); img2 = intMatrixToBufferedImage(matrix); assertImagesIdentical(img, img2); print("OK"); } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033121 |
| Snippet name: | Test_rgbaWithSizeToIntMatrix_roundTrip (OK) |
| Eternal ID of this version: | #1033121/4 |
| Text MD5: | 97a1667ce75eb0139f10e5c0c06619f8 |
| Transpilation MD5: | e89af71164161293850a3f4e56627fc9 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-15 16:15:33 |
| Source code size: | 369 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 443 / 581 |
| Version history: | 3 change(s) |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |