Skip to content

Read psd issue #165

@ParfenenkovEdit

Description

@ParfenenkovEdit

Hi, Emil!
I want ro ask you how to handle errors when i'm trying to open files.
I faced next issues:
Paper bag.psd
https://drive.google.com/file/d/1_00LaNCuHvQuV3tFkLuPRcPYaBPm0Wam/view?usp=sharing
2025-07-24 17:04:15 [LayerMaskData]Expected either 0 or 2 padding bytes, got 10 instead
2025-07-24 17:04:15 [DecompressRLE]Size of compressed data is not what was expected. Expected: 75347 but got 32084521 instead

Process finished with exit code -1073740791 (0xC0000409)

White Mug.psd
https://drive.google.com/file/d/1wpHUyrHDb9cVeypXif445WHF2Gj1DoIW/view?usp=sharing
RuntimeError: 2025-07-24 17:25:27 [SmartObjectWarp]Internal Error: Invalid descriptor type encountered. Full exception: 2025-07-24 17:25:27 [SmartObjectWarp]Invalid warp style received, expected 'warpCustom' or 'warpNone' but got 'warpCylinder'

Can it be handled in PSD files? Do you know the root cause of it?
For the second one should I use only warpCustom?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingc++

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions