b76a26c11c04ec4967950eb28192c0a3b6fbb406
Per Adobe PSD spec, the Image Data Section has ONE 2-byte compression field followed by all planes in planar order (RRR GGG BBB). The previous code wrote a compression marker per channel (4 extra bytes) and used RLE, which third-party viewers parse incorrectly (stretching) and Photoshop rejected. Now writes RAW data with a single compression marker, verified by pytoshop (decompresses to 3x4882x9764).
Description
一个用于将 照片编辑器(安卓APP )的矢量图层文件包 .ppl 转换为 通用的 .psd 文件的 Python 脚本
352 KiB
0 Stars
1 Watchers
0 Forks
Languages
Python
100%