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

6
LINES

< > BotCompany Repo | #1035227 // G22Tiler_BWImage

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

Libraryless. Click here for Pure Java version (11718L/69K).

1  
sclass G22Tiler_BWImage extends G22AbstractTiler<BWImage> {
2  
  int getColor(int pos) { ret image.getInt_noRangeCheck(pos); }
3  
  
4  
  *(BWImage img) { super(img); }
5  
  *(BufferedImage img) { this(toBWImage(img)); }
6  
}

Author comment

Began life as a copy of #1033761

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035227
Snippet name: G22Tiler_BWImage
Eternal ID of this version: #1035227/2
Text MD5: f12afc4110ddb4faf842a4aceefce7b6
Transpilation MD5: 7c12aedd529614b9867ba3a6b9eda3f6
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-23 23:41:12
Source code size: 215 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 226
Version history: 1 change(s)
Referenced in: [show references]