Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1032419 // dm_showImageAs - overwrites existing image with same title

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4020L/22K).

sS dm_showImageAs(S title, BufferedImage etc image) {
  S libID = "#1027276/AnImageSurface";
  S mod = dm_showModuleWithParams_systemQ(libID, +title);
  dm_set(mod, autoSaveToDisk := false);
  dm_call(mod, "setImage", image);
  ret mod;
}

Author comment

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: 156 / 221
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)