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

9
LINES

< > BotCompany Repo | #1034421 // BufferedImageAsIRGBImage

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

Libraryless. Click here for Pure Java version (5396L/30K).

1  
srecord BufferedImageAsIRGBImage(BufferedImage image) is IRGBImage {
2  
  public int getIntPixel(int x, int y) {
3  
    ret getPixel(image, x, y);
4  
  }
5  
  
6  
  public int getWidth() { ret image.getWidth(); }
7  
  public int getHeight() { ret image.getHeight(); }
8  
  public BufferedImage getBufferedImage() { ret image; }
9  
}

Author comment

Began life as a copy of #1034420

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034421
Snippet name: BufferedImageAsIRGBImage
Eternal ID of this version: #1034421/5
Text MD5: 0ac98278ec2d132ff21d690b68636e5a
Transpilation MD5: 11bec130b7ddb4cb1bacde84782de219
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-06 04:00:30
Source code size: 316 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 282
Version history: 4 change(s)
Referenced in: [show references]