Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ALI block 'cinf' has diffent size for PSB
AdditionalLayerInfo ("ALI") blocks with the 'cinf' key use different byte length for the size field; PSD files use 4 bytes and PSB files use 8. This is undocumented in Adobe's docs. Note that this bug previously did not cause parsing to fail, because our library ignores unrecognized ALI blocks. However, it _may_ have prevented recognizing valid ALI blocks that come after a 'cinf' block.
- Loading branch information