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

getting compressed psd file from the api #6847

Closed
vedantdere opened this issue Jun 11, 2024 · 3 comments
Closed

getting compressed psd file from the api #6847

vedantdere opened this issue Jun 11, 2024 · 3 comments

Comments

@vedantdere
Copy link

Your Operating System: Windows
Your Web Browser: Chrome
The problem happens in the Incognito Mode, too: Yes

This must be done to see the problem
1] Send any psd file in a photopea api check the size of the original file (in my case it is around 11MB)
2] api will open the file dont do anything just save the opened file it will send the POST request to the server defined and write the file and check the file size (in my case it is around 6.88 MB)

@photopea
Copy link
Owner

What exactly is the problem? What do you want to work differently and why?

@vedantdere
Copy link
Author

solved the issue "formats" : ["psd"] // Example format settings only setting this will not compress the output psd file.

@photopea
Copy link
Owner

It is described here: https://www.photopea.com/learn/scripts#:~:text=%22-,psd,-%3Atrue%22%20%2D%20%22true . Minified PSD files do not contain a thumbnail at the end of a file.

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