Libraryless. Click here for Pure Java version (28L/1K).
static int pixelCount(BufferedImage img) { ret img == null ? 0 : img.getWidth()*img.getHeight(); }
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: | 161 / 210 |
Referenced in: | [show references] |