Libraryless. Click here for Pure Java version (4020L/22K).
1 | sS dm_showImageAs(S title, BufferedImage etc image) { |
2 | S libID = "#1027276/AnImageSurface"; |
3 | S mod = dm_showModuleWithParams_systemQ(libID, +title); |
4 | dm_set(mod, autoSaveToDisk := false); |
5 | dm_call(mod, "setImage", image); |
6 | ret mod; |
7 | } |
Began life as a copy of #1029733
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032419 |
Snippet name: | dm_showImageAs - overwrites existing image with same title |
Eternal ID of this version: | #1032419/3 |
Text MD5: | 6da98fc2df3fc7342b42fba1d6b50129 |
Transpilation MD5: | a179c27b2bf8e06bb18d3e7086775ac7 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-03 03:47:07 |
Source code size: | 244 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 155 / 220 |
Version history: | 2 change(s) |
Referenced in: | [show references] |