Bad export image from shape layer
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
Any suggestion? I think there is no image data for shape layer. What about using VectorShape class?
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: https://www.dropbox.com/s/nj5iwo21ntqtr8m/Screen%20Shot%202014-05-02%20at%2018.08.32.png
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?