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

6
LINES

< > BotCompany Repo | #1031376 // rgbAdd

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

Libraryless. Click here for Pure Java version (2950L/17K).

static RGB rgbAdd(RGB a, RGB b) {
  ret RGB.newSafe(
    a.r+b.r,
    a.g+b.g,
    a.b+b.b);
}

Author comment

Began life as a copy of #1007920

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031376
Snippet name: rgbAdd
Eternal ID of this version: #1031376/1
Text MD5: 79e7b079c9693a985563fd3248f3774a
Transpilation MD5: c0e7aeb4b08cea430d1ad3efc6122317
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-07 11:40:01
Source code size: 99 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 153 / 188
Referenced in: [show references]