mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Layer > Rasterize > Fill Content / Smart Object swapped the layer's content to pixels but kept the fill (SoCo/GdFl/PtFl) or placed-layer (SoLd/PlLd/SoLE) blocks read from the PSD. Written back, they made the reopened file a fill layer or smart object again and discarded the pixels. Photoshop writes none of them for a pixel layer. - Rasterize drops those blocks from the layer. - The PSD exporter never writes fill, placed, type (TySh), shape-content (vscg/vstk), adjustment or CgEd blocks for a raster layer, whichever command made it one; a vector mask (vmsk/vsms with its vogk) stays. Tests: synthetic fill + smart object rasterize/save/reopen, the exporter backstop with stale blocks, and Photoshop-authored corpus files. Co-Authored-By: Claude Opus 5.5 <[email protected]>