Libraryless. Click here for Pure Java version (9236L/52K).
1 | meta-for I as BufferedImage, WidthAndHeight { |
2 | sS str_megapixels(I img) { |
3 | ret formatDouble(megapixels(img), 1) + " MP"; |
4 | } |
5 | } |
Began life as a copy of #1035755
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035901 |
Snippet name: | str_megapixels |
Eternal ID of this version: | #1035901/1 |
Text MD5: | 9d5fe5b855857126980cd51b9358be94 |
Transpilation MD5: | e4a3c440a5d95ce7f53c8318a93c5f0e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-11 18:47:04 |
Source code size: | 134 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 177 / 262 |
Referenced in: | [show references] |