- Alpha and spot channel pixels (saved selections, spot colors) are thrown away on read (psdReader.ts:1124) and never written. The writer still writes their names and display info, so a written file can describe channels it doesn't contain.
- Composite transparency is lost in a few files (for example 4x4_8bit_rgba, adobehq_layers: 4 channels come back as 3). I haven't investigated why.
- Extra layer channel IDs beyond -1/-2/-3 are dropped.
- Per-layer XMP (shmd → cust → layerXMP) isn't kept; only layerTime is.
- Lab, Multichannel and Duotone can't be read (19 corpus files) or written. Duotone could be read as grayscale while keeping its color mode data.
- 32-bit CMYK and 16-bit Indexed throw on read, and 32-bit CMYK can't be written.
- Patterns are only written as 8-bit RGB (psdWriter.ts:1175); the source mode and depth are lost.
- CMYK conversion ignores the embedded ICC profile and always uses the SWOP approximation.
- Not parsed: Filter Gallery (GEfc), Lens Correction (LnCr), and adjustments used as smart filters: Hue/Saturation (HStr), Exposure, Vibrance, Color Balance, Black & White, Photo Filter, Gradient Map, Selective Color, Threshold, Channel Mixer, Color Lookup, Posterize, Shadows/Highlights.
- `ms4w` plug-in resource (#4000-4999) isn't kept ("Unhandled plug-in resource key: ms4w", 20 files, e.g. test/read/cat, test/layer-mask, advanced-blending.psd, files_slices.psd). Data is always 8 bytes: 'ms4w' key + uint32 value (2 in 17 files, 0 in 2, 4 in 1). Always stored right after `mset` and before `mani`/`mfri` (4000:mopt 4001:mset 4002:ms4w [4003:mani 4004:mfri]) and only together with `mopt` and `mset`, so it's part of Save for Web settings. Meaning of the value is a guess: Save for Web preview tab (Original/Optimized, 2-Up, 4-Up). Fix: read the value into a raw number field (e.g. `imageResources.saveForWebView`) and add 'ms4w' after 'mset' in `pluginResourceKeys`.
