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

Default initialize LayeredFile<T> to be 1x1 rather than 0x0 #98

Closed
EmilDohne opened this issue Sep 3, 2024 · 0 comments · Fixed by #104
Closed

Default initialize LayeredFile<T> to be 1x1 rather than 0x0 #98

EmilDohne opened this issue Sep 3, 2024 · 0 comments · Fixed by #104
Assignees
Labels
bug Something isn't working c++

Comments

@EmilDohne
Copy link
Owner

Photoshop itself doesnt support a file size smaller than 1px which causes default-initialized LayeredFile instances to write out an invalid psd.

This should be fixed and we should additionally check not only that the file is max 300,000 pixels but also that it is minimum 1 pixel

@EmilDohne EmilDohne added bug Something isn't working c++ labels Sep 3, 2024
@EmilDohne EmilDohne self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c++
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant