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

5
LINES

< > BotCompany Repo | #1035901 // str_megapixels

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

Libraryless. Click here for Pure Java version (9236L/52K).

meta-for I as BufferedImage, WidthAndHeight {
  sS str_megapixels(I img) {
    ret formatDouble(megapixels(img), 1) + " MP";
  }
}

Author comment

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: 176 / 260
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)