adobe-photoshop / generator-core

Core Node.js library for Adobe Photoshop CC's Generator extensibility layer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Output image cropped when setting pixel size and using adjustment layers

NSDesign opened this issue · comments

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

  • Group : 136 x 96 YT_Play_Off.png - This image is cropped

    • Adjustment Layer : Curves
    • Adjustment Layer : Hue Saturation
    • Layer : YT_Play_Icon(Smart Object)
  • Group : 136 x 96 YT_Play_On.png - This works as expected

    • Layer : YT_Play_Icon(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

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