Libraryless. Click here for Pure Java version (33L/1K).
1 | static SampleModel getSampleModel(BufferedImage image) { |
2 | ret image == null ?: image.getRaster().getSampleModel(); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1035896 |
Snippet name: | getSampleModel |
Eternal ID of this version: | #1035896/1 |
Text MD5: | 1dc13b7b78135d5725711ccc91404f19 |
Transpilation MD5: | 8700ffcfe8855f2244f835fa72710aac |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-08 18:34:38 |
Source code size: | 119 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 119 / 162 |
Referenced in: | [show references] |