Dylan M. Taylor
45de2ed928
craft-psd: the reading rules for .ase swatch files ( #984 )
...
The rules VectorCraft's swatch reader applies on top of the format
(crates/color/src/palette_io.rs at storytold/vectorcraft 7f3a046b), as
separate functions next to `ase::parse`, which still keeps what the file
says:
- `AseColor::lab_lightness`: Lab lightness is stored as L*/100, but some
writers store L* itself, which shows as a value above 1;
- `AseColor::value_name`: names for unnamed colours, as new swatches are
named ("C=10 M=20 Y=30 K=0", "R=255 G=128 B=0", "Gray K=40",
"L=52 a=70 b=-30");
- `UniqueNames` and `AseFile::apply_names`: trimmed names, "Color Group"
for an unnamed group, and a number for a name already taken ("Black 2"),
shared by colours and groups. `UniqueNames::reserve` lets an application
number a file's names against its own library;
- `ase::sniff`: a swatch exchange file, not an Aseprite sprite with the
same extension.
These are the rules craft-libs#140 asks for.
2026-11-11 19:45:18 -05:00
..
2026-11-11 18:52:44 -05:00
2026-11-11 19:01:12 -05:00
2026-11-11 17:42:11 -05:00
2026-10-23 11:17:51 -04:00
2026-11-11 18:08:00 -05:00
2026-10-21 22:59:44 -07:00
2026-11-11 19:25:58 -05:00
2026-11-11 19:00:43 -05:00
2026-11-11 12:49:55 -05:00
2026-11-11 19:19:03 -05:00
2026-11-01 12:03:49 -05:00
2026-11-11 18:07:00 -05:00
2026-10-28 16:49:37 -04:00
2026-11-07 15:48:07 +01:00
2026-11-02 21:52:51 -05:00
2026-11-11 18:38:46 -05:00
2026-11-11 19:22:03 -05:00
2026-11-11 19:21:50 -05:00
2026-11-03 05:56:54 -08:00
2026-11-11 18:39:42 -05:00
2026-11-11 19:23:15 -05:00
2026-11-11 18:42:54 -05:00
2026-11-11 18:08:28 -05:00
2026-11-11 19:20:26 -05:00
2026-10-27 09:21:01 -04:00
2026-11-07 01:58:39 -08:00
2026-11-11 15:47:59 -05:00
2026-11-11 17:07:37 -05:00
2026-11-11 17:29:14 -05:00
2026-11-11 18:53:16 -05:00
2026-11-11 18:41:32 -05:00
2026-11-11 15:22:02 -05:00
2026-11-11 18:54:48 -05:00
2026-11-11 06:17:52 -05:00
2026-11-11 19:30:23 -05:00
2026-11-11 19:23:15 -05:00
2026-11-11 19:45:03 -05:00
2026-11-11 07:37:06 -05:00
2026-10-31 21:02:31 -07:00
2026-11-11 17:46:14 -05:00
2026-11-11 18:42:26 -05:00
2026-11-11 18:47:08 -05:00
2026-11-11 18:47:39 -05:00
2026-11-11 15:00:02 -05:00
2026-11-03 23:06:04 -05:00
2026-11-11 18:40:11 -05:00
2026-11-11 19:22:42 -05:00
2026-11-11 15:26:10 -05:00
2026-11-11 16:41:11 -05:00
2026-11-11 18:45:10 -05:00
2026-11-11 19:31:29 -05:00
2026-11-11 18:43:46 -05:00
2026-11-11 16:41:01 -05:00
2026-11-11 18:45:38 -05:00
2026-11-07 15:44:13 +01:00
2026-11-11 19:21:20 -05:00
2026-11-11 19:30:55 -05:00
2026-11-11 18:06:22 -05:00
2026-11-11 16:12:06 -05:00
2026-10-22 20:49:41 +02:00
2026-11-11 17:29:14 -05:00
2026-11-11 18:55:20 -05:00
2026-11-11 15:48:26 -05:00
2026-11-11 19:19:57 -05:00
2026-11-04 18:11:37 +01:00
2026-11-11 19:45:18 -05:00
2026-11-11 18:43:21 -05:00
2026-10-25 21:59:22 -04:00
2026-11-11 18:37:51 -05:00
2026-11-11 19:29:51 -05:00
2026-11-11 19:25:27 -05:00
2026-11-02 22:48:25 -05:00
2026-11-11 19:24:39 -05:00
2026-11-11 06:40:49 -05:00
2026-11-11 17:46:57 -05:00
2026-11-11 19:24:06 -05:00
2026-11-11 18:46:38 -05:00
2026-11-11 16:40:42 -05:00
2026-11-11 19:19:30 -05:00
2026-11-11 18:39:14 -05:00
2026-11-11 19:43:41 -05:00
2026-11-11 19:44:17 -05:00
2026-11-11 07:31:25 +01:00
2026-11-11 11:22:26 -05:00
2026-11-11 18:50:38 -05:00
2026-11-07 15:43:45 +01:00
2026-11-11 16:23:23 -05:00
2026-11-11 17:43:10 -05:00
2026-11-06 16:54:07 +01:00
2026-11-05 10:29:52 +01:00
2026-11-11 19:42:34 -05:00
2026-10-31 16:20:44 +01:00
2026-11-11 19:43:08 -05:00
2026-11-11 19:25:01 -05:00
2026-11-11 19:24:39 -05:00
2026-11-11 19:32:04 -05:00
2026-11-11 14:58:15 -05:00
2026-11-11 18:44:44 -05:00
2026-11-11 18:53:53 -05:00