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

Signature error #7

Closed
3D-Dev opened this issue Jul 15, 2021 · 8 comments
Closed

Signature error #7

3D-Dev opened this issue Jul 15, 2021 · 8 comments

Comments

@3D-Dev
Copy link

3D-Dev commented Jul 15, 2021

Sorry, I fixed path error, but Signature error raised.

<?xpacket end="w"?>

***ERROR*** [ImageResources] Image resources section seems to be corrupt, signature does not match "8BIM".Program ended with exit code: 0

how can I solve it?
Screen Shot 2021-07-15 at 11 31 13

Originally posted by @PROCW in #6 (comment)

@tivolo
Copy link

tivolo commented Jul 16, 2021

This could be caused by several things:

  1. The reader was confused by preceeding data, so when it expects the resource identifier, something else is read from the data stream.
  2. An endianness error.
  3. Some new kind of PSD format that the reader cannot handle yet.

What is the actual data read from the stream?

@3D-Dev
Copy link
Author

3D-Dev commented Jul 17, 2021

Okay, Thanks.
But I build with sample psd file but I don't see result.
What is the end result of building this sdk?
Are you displaying the psd file in the view?
Thanks for your help.

@MolecularMatters
Copy link
Owner

Running the sample will read Sample.psd and output a few .TGA files for the individual layers to demonstrate that they have been loaded correctly.
The sample will also output a few .PSD files to demonstrate the writing capabilities of the SDK.

Regarding your error about corrupted image resources, maybe @oluseyi can chime in?
They provided the macOS port of the SDK.

@oluseyi
Copy link
Contributor

oluseyi commented Jul 20, 2021

@PROCW can you give me the context here? This issue isn't linked to anything else, and I haven't looked at this repo/codebase in months; what are you trying to do, and what's happening?

@3D-Dev
Copy link
Author

3D-Dev commented Jul 20, 2021

Thanks for your reply,
But Can I see the psd file on view instead of .TGA files?
And I added the link for reading error psd file.
https://we.tl/t-GWlt8IQiKW

@playmer
Copy link
Contributor

playmer commented Sep 3, 2021

Hey @PROCW, can you give the above PR a try? I can't promise anything else, but I'm hoping it fixes the error you're seeing.

@MolecularMatters
Copy link
Owner

MolecularMatters commented Sep 24, 2021

I just fixed this in 91643c3.
@PROCW, please give this a try.

@MolecularMatters
Copy link
Owner

Closing this for now, as this no longer seems to be an issue.

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

5 participants