-
Notifications
You must be signed in to change notification settings - Fork 207
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
Bad export image from shape layer #71
Comments
Any suggestion? I think there is no image data for shape layer. |
Shape layers normally do have image data, but this seems to be a case where it does not. It could be worth seeing if the VectorShape class can render it. It's currently disabled because it relies on cairo and typically the shape layers do have image data. |
The question is what normally means... I save this psd without Maximize Compatibility: |
Oh gotcha... yeah saving without maximize compatibility causes a lot of issues. First, PSD.rb needs a surefire way of detecting when it was not saved in maximize compatibility mode. I'm not sure if there is a resource flag that denotes this, or if you simply check the size of the full preview image to see if it's 0. |
Layer graphics background color? |
photoshop cc
psd: https://www.dropbox.com/s/jamaj3tve2qpw8l/error2.psd
psd.tree.descendant_layers[0].save_as_png('output.png')
output image: https://www.dropbox.com/s/voedjx5ub9bwnvz/output.png
The text was updated successfully, but these errors were encountered: