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