New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing a particular PSD fails #11
Comments
I get a similar error when parsing a PSD with a smart object. Please find the sample file at http://cl.ly/2I1K3l0p1y1Z |
@HBehrens thanks for the sample file, I'll check it out. |
So the problem lies within a Descriptor, which represents a complex data structure of some kind, inside a PlacedLayer data block. It looks like the implementation for the object array (denoted with the The bytes in question are: I'll keep working at it until I figure out the data structure. For now, I've pushed out a new version that catches parsing exceptions for these layer info blocks and continues to the next one so that parsing the PSD doesn't fail altogether. |
Going to close this since parsing is fixed now, and open a separate issue for the Descriptor bug. |
Thanks for looking into this. Version 0.3.4 seems to fix the crash for me (both on my file and the one provided by @HBehrens). I'll talk to our designer to see if there's anything special in our files that might be causing problems. |
I have a PSD file that's a mock for an iOS app that I'm working on. When I try parsing it, I get the errors listed below. I'd be happy to provide the errant file, but it's too large to attach to this issue. If there's some other way I can send it to you, please let me know.
The text was updated successfully, but these errors were encountered: