50 Commits

Author SHA1 Message Date
Zoe Gidiere
4be2390294 Small cache fix 2024-10-12 15:43:23 -06:00
Zoe Gidiere
6851999926 Some refactoring 2024-10-11 19:45:12 -06:00
Astrashh
defd775f13
Change Java whitespace handling in .editorconfig (#425)
* Change whitespace handling in .editorconfig

* Reformat code

* fix format error

* Reformat code

---------

Co-authored-by: Zoë Gidiere <duplexsys@protonmail.com>
2023-11-13 00:57:01 +00:00
Astrashh
4065cfea53
Fix YAML formatting (#426)
* Remove trailing whitespace in YAML formatting

* Reformat YAML files
2023-11-10 00:47:12 +00:00
Zoë Gidiere
89d497d500 Some requested changes 2023-11-08 21:58:57 -07:00
Zoë Gidiere
81a96d6b76 Reformat code 2023-11-02 18:47:36 -06:00
Zoë Gidiere
d696e4fd24 Optimize imports 2023-11-02 18:45:13 -06:00
Zoë Gidiere
5829112a74 Merge branch 'ver/6.4.0' into dev/image-caching 2023-10-26 12:56:17 -06:00
Zoë Gidiere
9292d3de17 Remove FastMath
hotspot has intrinsics for almost everything we use it for
2023-10-26 10:37:25 -06:00
Astrash
0149a29b04 Load correct path 2023-10-24 14:08:56 +11:00
Astrash
cd8605850f Replace unload-on-timeout with timeout > 0 2023-10-24 13:47:25 +11:00
Astrash
148b8dfe35 Bump image lib patch version 2023-10-24 13:34:10 +11:00
Astrash
3f485b1825 Add to unload on timeout description 2023-10-24 13:30:09 +11:00
Astrash
cb6ecff113 Remove sout 2023-10-24 13:29:53 +11:00
Astrash
e30bcbf1ba Improve image caching options 2023-10-24 13:26:35 +11:00
Astrash
a5cbce3667 Optimize cardinal rotations for RotateColorSampler 2023-06-14 12:07:37 +10:00
Astrash
d0591f292e Use primitive int over Integer 2023-06-14 11:15:25 +10:00
Astrash
58b743e6e8 Distance transform documentation 2023-05-02 14:15:20 +10:00
Astrash
b4ea09929c ColorUtil documentation 2023-05-02 13:37:22 +10:00
Astrash
09d847bc5a Add argb method to Channel class 2023-05-02 13:12:23 +10:00
Astrash
dacddef5d6 rgb -> argb 2023-05-02 13:04:23 +10:00
Astrash
3c593c7013 Fix method call 2023-05-02 13:03:13 +10:00
Astrash
105be0c346 Implement color parsing from strings 2023-05-02 12:58:29 +10:00
Astrash
39d21fbe08 Implement channel noise sampler 2023-05-01 13:58:56 +10:00
Astrash
50fc589001 Move distance transform to appropriate package 2023-05-01 13:58:18 +10:00
Astrash
ffa55cb7a3 Implement premultiplication in ColorUtil 2023-05-01 13:57:07 +10:00
Astrash
ff0985bd31 Make imagelib MathUtil 2023-05-01 13:10:58 +10:00
Astrash
622fed96e5 Use colorsampler package name instead of sampler 2023-05-01 12:48:13 +10:00
Astrash
c219eff149 Implement distance transform sampler 2023-05-01 12:45:26 +10:00
Astrash
2afcee28a6 Base key names on internal names 2023-03-01 13:39:09 +11:00
Astrash
6efff02c19 Implement stitched image support 2023-03-01 13:38:36 +11:00
Astrash
d3e0831d9e Use config type based image loading
Rename `path` key to `image`
2023-03-01 13:28:45 +11:00
Astrash
7b87498751 Don't load same image multiple times 2023-02-07 11:59:03 +11:00
Astrash
95992cc49b Don't apply align to single image fallback 2022-11-26 14:43:15 +11:00
Astrash
7b0185ba7c Add translate color sampler 2022-11-26 14:42:12 +11:00
Astrash
6b7fb82202 Put mutator color samplers in their own packages 2022-11-26 14:21:02 +11:00
Astrash
f246c8ada3 Put image based color samplers in own packages 2022-11-26 14:14:15 +11:00
Astrash
a97273f358 Skip color dist calc if exact match 2022-11-26 14:05:39 +11:00
Astrash
878bede60b Name changes 2022-11-26 13:52:15 +11:00
Astrash
b771e108b6 Use color sampler as fallback instead of constant 2022-11-26 13:52:15 +11:00
Astrash
5c916f7758 Add rotate color sampler 2022-11-26 13:52:05 +11:00
Astrash
e9db14f52c Wrap BufferedImage access 2022-11-26 13:49:10 +11:00
Astrash
b3f072d689 Properly ignore alpha of lookup map 2022-11-25 14:11:16 +11:00
Astrash
4fdef98bd9 Use generic key mapping function 2022-11-25 14:10:07 +11:00
Astrash
8670c4cdf3 ColorPicker -> ColorSampler 2022-11-25 10:17:56 +11:00
Astrash
64c2a41d19 Ignore alpha channel by default with ExactColorConverter 2022-11-24 13:56:11 +11:00
Astrash
4e225a6592 Add utility methods for zero-ing color channels 2022-11-24 13:55:36 +11:00
Astrash
c491ac5b24 ColorUtil.Channel getChannel() -> from() 2022-11-24 13:55:16 +11:00
Astrash
274f864d6a Move channels into image lib 2022-11-24 12:06:51 +11:00
Astrash
3580267532 Image library initial implementation
*Moves the BufferedImage loader into the library, rather than being
a loader implemented in common/implementation
2022-11-24 12:06:51 +11:00