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

10
LINES

< > BotCompany Repo | #1019593 // showImagePixelated

JavaX fragment (include)

1  
please include function showImage.
2  
3  
static ImageSurface showImagePixelated(MakesBufferedImage img) {
4  
  ImageSurface is = new(img);
5  
  imageSurface_pixelated(is);
6  
  JFrame frame = showPackedFrame(jscroll(is));
7  
  moveToTopRightCorner(frame);
8  
  frameIcon(frame, showImage_defaultIcon);
9  
  ret is;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1019593
Snippet name: showImagePixelated
Eternal ID of this version: #1019593/3
Text MD5: cf7403046a238139cafe714941740814
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-13 04:03:14
Source code size: 302 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 363 / 436
Version history: 2 change(s)
Referenced in: [show references]