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

13
LINES

< > BotCompany Repo | #1006428 // inputImage

JavaX fragment (include)

1  
// externally supplied image
2  
static BufferedImage inputImage_image;
3  
4  
static BufferedImage inputImage() {
5  
  if (inputImage_image != null)
6  
    ret inputImage_image;
7  
    
8  
  final new ImageChooser ic;
9  
  if (!showTitledForm_blocking("Please Choose Image To Work On",
10  
    "", ic))
11  
    fail("No input image selected");
12  
  ret ic.getImage();
13  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006428
Snippet name: inputImage
Eternal ID of this version: #1006428/1
Text MD5: c44dbfb93c4535b854cfcf29474b8de7
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-01-01 21:01:24
Source code size: 346 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 514 / 539
Referenced in: [show references]