Skip to main content
Participating Frequently
October 31, 2016

P: Generator offsets and crops images randomly when resizing to a pixel dimension.

  • October 31, 2016
  • 13 replies
  • 1157 views

I have a number of layer groups that are masked to the edge of the artboard. When I use generator to export them without resizing them, the exported PNGs align perfectly. If I then manually resize the separate PNGs they remained aligned.

When I add 1000x1000 in front of the image title in the layer group to resize them, they will sometimes align but most often be offset randomly by between 10 and 50 pixels or so.

Occasionally the output PNGs will be cropped to 1000x1000 instead of being resized, though this behavior happens more rarely.

Original photoshop:

resized images composited together: 



Can this be fixed?

This topic has been closed for replies.

13 replies

Participating Frequently
November 7, 2016
Hi Chad, any luck with the files I sent you?
Participating Frequently
November 2, 2016
Thanks Chad, I've replied to your email.
chad.rolfs
Participating Frequently
November 1, 2016
Hey Mark, there might be a workaround using a configuration file, but if I can repro what you're running into, we can work on possible better solution.  Sent you a message yesterday (check junk/spam if you didn't see it).  
Config file info: https://github.com/adobe-photoshop/generator-core/wiki/Generator-Configuration-File-Format