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

6
LINES

< > BotCompany Repo | #1026032 // invertImageSurface

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

Uses 108K of libraries. Click here for Pure Java version (9301L/68K).

svoid invertImageSurface(ImageSurface is) {
  if (is == null) ret;
  BufferedImage img = is.getImage();
  if (img == null) ret;
  is.setImage(invertedImage(img));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026032
Snippet name: invertImageSurface
Eternal ID of this version: #1026032/1
Text MD5: f115a9c0e471c952e857f4c42f54c806
Transpilation MD5: f84a58360d351abf502081cbd0022db3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-10 21:41:19
Source code size: 169 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 233 / 330
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)