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

13
LINES

< > BotCompany Repo | #1006428 // inputImage

JavaX fragment (include)

// externally supplied image
static BufferedImage inputImage_image;

static BufferedImage inputImage() {
  if (inputImage_image != null)
    ret inputImage_image;
    
  final new ImageChooser ic;
  if (!showTitledForm_blocking("Please Choose Image To Work On",
    "", ic))
    fail("No input image selected");
  ret ic.getImage();
}

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: 512 / 536
Referenced in: [show references]