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

5
LINES

< > BotCompany Repo | #1030511 - scaleClipboardImage

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4948L/31K).

static BufferedImage scaleClipboardImage(int width) {
  BufferedImage img = imageFromClipboard();
  if (img == null) null;
  ret copyImageToClipboard(scaleToWidth(width, img));
}

download  show line numbers  debug dex   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1030511
Snippet name: scaleClipboardImage
Eternal ID of this version: #1030511/1
Text MD5: 2d6585bc916c064b6409a037800be22b
Transpilation MD5: b7e42cc9824be11cdb6dc6ac4dfe21e0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-01-04 00:01:45
Source code size: 182 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 11 / 34
Referenced in: [show references]

Formerly at http://tinybrain.de/1030511 & http://1030511.tinybrain.de