Skip to content
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

PSB not decodable #16

Closed
chocolatkey opened this issue Jan 15, 2022 · 2 comments
Closed

PSB not decodable #16

chocolatkey opened this issue Jan 15, 2022 · 2 comments

Comments

@chocolatkey
Copy link

When trying to open very large PSB files like this one: https://drive.google.com/file/d/1kiLgXZcKpND2EenDpOJj8xCiN9Zg1T1_/view?usp=sharing

I get the error psd: layer info read size mismatched. expected <number X> actual <number X> where X is the same number both times. The files open fine in external viewers (e.g. IfranView, Affinity Photo).

@oov
Copy link
Owner

oov commented Jan 17, 2022

Are you using the latest revision?
That file opened without any problems in my environment.
(GOVERSION=go1.17 GOOS=windows GOARCH=amd64)

@oov
Copy link
Owner

oov commented Jan 21, 2022

I haven't gotten a response from you yet, but just in case, I've eliminated the size check mechanism.
Now that error will no longer occur.

This was originally introduced to detect errors in the program.
However, this would make an error just by the presence of useless margins,
even if the image data reading itself was successful.

I observed an error caused by margins in another case, so eliminated it.

@oov oov closed this as completed Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants