Transpiled version (5902L) is out of date.
1 | svoid test_imageDifferenceAsTransparentOverlay() { |
2 | var img1 = newImage(1, 1, Color.green); |
3 | var img2 = newImage(1, 1, Color.blue); |
4 | var diff = imageDifferenceAsTransparentOverlay(img1, img2); |
5 | checkPixelArray(diff, 0xFF0000FF); |
6 | |
7 | img2 = newImage(1, 1, Color.green); |
8 | diff = imageDifferenceAsTransparentOverlay(img1, img2); |
9 | checkPixelArray(diff, 0); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034395 |
Snippet name: | test_imageDifferenceAsTransparentOverlay |
Eternal ID of this version: | #1034395/3 |
Text MD5: | abcfd9c7ed99430b02f64c1ca3c61610 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-05 03:09:40 |
Source code size: | 370 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 142 / 211 |
Version history: | 2 change(s) |
Referenced in: | [show references] |