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

7
LINES

< > BotCompany Repo | #1027200 // showImagePixelatedZoomedToWidth

JavaX fragment (include)

1  
static ImageSurface showImagePixelatedZoomedToWidth(int w, MakesBufferedImage img) {
2  
  ret showImagePixelatedZoomedToWidth(w, img.getBufferedImage());
3  
}
4  
5  
static ImageSurface showImagePixelatedZoomedToWidth(int w, BufferedImage img) {
6  
  ret showImagePixelatedZoomed(doubleRatio(w, img.getWidth()), img);
7  
}

Author comment

Began life as a copy of #1023048

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027200
Snippet name: showImagePixelatedZoomedToWidth
Eternal ID of this version: #1027200/1
Text MD5: 0d91cc677c0213f4097dd2450aa6fc62
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-25 12:06:35
Source code size: 310 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 183 / 221
Referenced in: [show references]