adobe-photoshop / generator-core

Core Node.js library for Adobe Photoshop CC's Generator extensibility layer
MIT License
692 stars 97 forks source link

Output image cropped when setting pixel size and using adjustment layers #408

Open NSDesign opened 6 years ago

NSDesign commented 6 years ago

Hi, I have a button with 2 states, each is contained individually in folder. The button graphic is a smart object.

For the off state, I wanted the button to be coloured differently, so I added a couple of adjustment layers clipped to the button. Seems the combination of setting output pixel dimensions(smaller) and adjustment layers causes the output png to be cropped right and bottom. Replacing adjustment layers with colour overlay effects works as expected.

Thanks

samgannawayA commented 6 years ago

Hi NSDesign, I tried to reproduce the situation described, but I wasn't able to get the issue to trigger. Could you provide a sample file?

Thanks, Sam