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).

srecord BufferedImageAsIRGBImage(BufferedImage image) is IRGBImage {
  public int getIntPixel(int x, int y) {
    ret getPixel(image, x, y);
  }
  
  public int getWidth() { ret image.getWidth(); }
  public int getHeight() { ret image.getHeight(); }
  public BufferedImage getBufferedImage() { ret image; }
}

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: 178 / 281
Version history: 4 change(s)
Referenced in: #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167)