Uses 4489K of libraries. Click here for Pure Java version (5757L/41K/146K).
1 | !7 |
2 | |
3 | !include #1007154 // ImageMachine |
4 | |
5 | p-substance-thread { |
6 | new ImageMachine { |
7 | ImageSurface isAvg; |
8 | |
9 | @Override void newImage(S text, BufferedImage img) { |
10 | super.newImage(text, img); |
11 | |
12 | isAvg = showImage_centered(isAvg, "Average Color", new RGBImage(20, 20, rgbAverageColor(new RGBImage(img))); |
13 | setAlwaysOnTop(isAvg); |
14 | } |
15 | }.start(); |
16 | } |
Began life as a copy of #1007146
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: | #1007155 |
Snippet name: | Automatic Image Machine With Average Color Analysis |
Eternal ID of this version: | #1007155/4 |
Text MD5: | 8adc8e818245bb423d366a90394895ee |
Transpilation MD5: | 60e4c40866d50469dc7ba79db9390856 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-18 14:19:30 |
Source code size: | 386 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 437 / 532 |
Version history: | 3 change(s) |
Referenced in: | [show references] |