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

5
LINES

< > BotCompany Repo | #1015533 // rgbAllPixelsInAreaEqualToOneOf

JavaX fragment (include)

static bool rgbAllPixelsInAreaEqualToOneOf(RGBImage img, int x1, int y1, int x2, int y2, int... color) {
  for (int c : color)
    if (rgbAllPixelsInAreaEqualTo(img, x1, y1, x2, y2, c)) true;
  false;
}

Author comment

Began life as a copy of #1006205

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1015533
Snippet name: rgbAllPixelsInAreaEqualToOneOf
Eternal ID of this version: #1015533/1
Text MD5: 4be982158aba780bdb1ffb889d37d328
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-16 11:58:08
Source code size: 206 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 274 / 319
Referenced in: [show references]