psd.rb icon indicating copy to clipboard operation
psd.rb copied to clipboard

Exported layer comp does not include clipping mask and adjustment layers

Open hasyimibhar opened this issue 9 years ago • 0 comments

If I export a PSD containing a clipping mask and adjustment layers as a single image:

psd.image.save_as_png 'output/flat.png'

The output is expected: flat

But if I export a layer comp:

psd.tree.filter_by_comp('01').save_as_png('output/01.png')

The output does not include the clipping mask and adjustment layers: 01

The test PSD: https://www.dropbox.com/s/inj0u0mi47mnfdu/test.psd?dl=0

hasyimibhar avatar Apr 21 '15 23:04 hasyimibhar