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

3
LINES

< > BotCompany Repo | #1034922 // checkIntColorWithoutAlpha - check pixel from BufferedImage

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

Libraryless. Click here for Pure Java version (159L/2K).

sbool checkIntColorWithoutAlpha(BufferedImage img, int x, int y, int color) {
  ret getIntColorWithoutAlphaOrMinus1(img, x, y) == color;
}

Author comment

Began life as a copy of #1034913

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034922
Snippet name: checkIntColorWithoutAlpha - check pixel from BufferedImage
Eternal ID of this version: #1034922/1
Text MD5: 94c452b16e6c0c01c3f21d8b048ddf8c
Transpilation MD5: 01103971d98b4968464a84984487ca8c
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-15 15:22:29
Source code size: 140 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 55 / 88
Referenced in: [show references]