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

29
LINES

< > BotCompany Repo | #1006492 // quickShowImage - show an image in always the same frame

JavaX fragment (include)

static ImageSurface quickShowImage() {
  ret quickShowImage(currentImage());
}

static ImageSurface quickShowImage(BufferedImage image) {
  ret quickShowImage(autoTitle(), image);
}

static ImageSurface quickShowImage(S title, BufferedImage image) {
  ret quickShowZoomedImage(title, image, 1.0);
}

static ImageSurface quickShowImage(S title, RGBImage image) {
  ret quickShowImage(title, image.getBufferedImage());
}

static ImageSurface quickShowImage(RGBImage image) {
  ret quickShowImage(image.getBufferedImage());
}

ifclass BWImage
static ImageSurface quickShowImage(BWImage image) {
  ret quickShowImage(image.getBufferedImage());
}
endif

static ImageSurface quickShowImage(BufferedImage image, S title) {
  ret quickShowImage(title, image);
}

Author comment

Began life as a copy of #1005387

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006492
Snippet name: quickShowImage - show an image in always the same frame
Eternal ID of this version: #1006492/5
Text MD5: 3880e43710c0d38c3d403446502b7519
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-13 16:32:41
Source code size: 783 bytes / 29 lines
Pitched / IR pitched: No / No
Views / Downloads: 533 / 581
Version history: 4 change(s)
Referenced in: [show references]