Transpiled version (28L) is out of date.
1 | static int getPixel(BufferedImage img, int x, int y) { |
2 | ret img.getRGB(x, y); |
3 | } |
4 | |
5 | static int getPixel(BufferedImage img, Pt p) { |
6 | ret img.getRGB(p.x, p.y); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
Snippet ID: | #1032254 |
Snippet name: | getPixel - get pixel from BufferedImage |
Eternal ID of this version: | #1032254/2 |
Text MD5: | 99f9b55ec8cb7a2ad2da947102370379 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-23 01:53:50 |
Source code size: | 164 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 295 |
Version history: | 1 change(s) |
Referenced in: | [show references] |