Libraryless. Click here for Pure Java version (35L/1K).
static int[] pixelsWithInvertedAlpha(int[] pixels) { int n = pixels.length; int[] pixels2 = new[n]; for i to n: pixels2[i] = pixels[i]^0xFF000000; ret pixels2; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035298 | 
| Snippet name: | pixelsWithInvertedAlpha | 
| Eternal ID of this version: | #1035298/1 | 
| Text MD5: | 8da7e88ab8bb8f8d2c922537a212fc23 | 
| Transpilation MD5: | 56027fd485852b3b5bc8b1b083246397 | 
| Author: | stefan | 
| Category: | javax / imaging | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-04-29 03:29:33 | 
| Source code size: | 179 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 322 / 420 | 
| Referenced in: | [show references] |