Libraryless. Click here for Pure Java version (9223L/51K).
srecord WrappedBufferedImage(BufferedImage image) is IRGBImage { public int getWidth() { ret image.getWidth(); } public int getHeight() { ret image.getHeight(); } public BufferedImage getBufferedImage() { ret image; } public int getIntPixel(int x, int y) { ret image.getRGB(x, y); } }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036095 |
Snippet name: | WrappedBufferedImage - BufferedImage wrapped as IRGBImage |
Eternal ID of this version: | #1036095/2 |
Text MD5: | 28e2b3b02b66c4522d75a8d7401a4b0c |
Transpilation MD5: | d166adce18d10986b0c4b71908c870ce |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-12 17:23:47 |
Source code size: | 313 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 117 / 178 |
Version history: | 1 change(s) |
Referenced in: | #1003674 - Standard Classes + Interfaces (LIVE continued in #1034167) |