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

3
LINES

< > BotCompany Repo | #1033444 // is8BitGrayscale

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

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

1  
sbool is8BitGrayscale(BufferedImage img) {
2  
  ret img.getType() == BufferedImage.TYPE_BYTE_GRAY;
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033444
Snippet name: is8BitGrayscale
Eternal ID of this version: #1033444/2
Text MD5: a515b5c5b50cd2234bcff70fa88fb6b8
Transpilation MD5: cde6caf8718e32707a0df39f99a778bb
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-28 16:36:57
Source code size: 99 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 125 / 198
Version history: 1 change(s)
Referenced in: [show references]