Libraryless. Click here for Pure Java version (23794L/145K).
sclass Test_ImageInfiller { BufferedImage lastImageIn, lastImageOut; run { int blue = 0xFF0000FF; assertPixels(infill(imageFromPixels(3, blue, blue, blue, blue, 0, blue, blue, blue, blue)), repIntArray(blue, 9)); } BufferedImage infill(BufferedImage image) { ret lastImageOut = new ImageInfiller(lastImageIn = image)!; } }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035728 |
Snippet name: | Test_ImageInfiller |
Eternal ID of this version: | #1035728/5 |
Text MD5: | 679df29b0b811d6ce7e6a24c7214fd31 |
Transpilation MD5: | cf1bfa87a5166d383c282ccc32a79774 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-07-14 23:02:30 |
Source code size: | 389 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 273 |
Version history: | 4 change(s) |
Referenced in: | #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167) |