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

3
LINES

< > BotCompany Repo | #1033373 // pixelCount

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

Libraryless. Click here for Pure Java version (28L/1K).

static int pixelCount(BufferedImage img) {
  ret img == null ? 0 : img.getWidth()*img.getHeight();
}

Author comment

Began life as a copy of #1005963

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033373
Snippet name: pixelCount
Eternal ID of this version: #1033373/1
Text MD5: 2a9a9f6d4ed4a153311bd0f1b65f3112
Transpilation MD5: 61908c8898b169ff5064e2e0d27de911
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-26 18:18:29
Source code size: 102 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 211
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)