Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

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

Community Beginner ,
Oct 30, 2016 Oct 30, 2016

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:
undefinedexpand imageexpand image
resized images composited together: undefinedexpand imageexpand image



Can this be fixed?

Bug Fixed
TOPICS
macOS , Windows
977
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Nov 26, 2021 Nov 26, 2021

Fixed in 22.0 or later.

Status Fixed
Translate
13 Comments
Adobe Employee ,
Nov 01, 2016 Nov 01, 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
Translate
Report
Community Beginner ,
Nov 01, 2016 Nov 01, 2016
Thanks Chad, I've replied to your email.
Translate
Report
Community Beginner ,
Nov 06, 2016 Nov 06, 2016
Hi Chad, any luck with the files I sent you?
Translate
Report
Adobe Employee ,
Nov 07, 2016 Nov 07, 2016
Yes, thank you.  I can reproduce what you're running into.  Trying to isolate the problem...
Translate
Report
Community Beginner ,
Nov 07, 2016 Nov 07, 2016
Great, thanks Chad.
Translate
Report
Community Beginner ,
Nov 14, 2016 Nov 14, 2016
Hi Chad, any luck? This happens quite a lot and hampers our workflow.
Translate
Report
Adobe Employee ,
Nov 15, 2016 Nov 15, 2016
Hey Mark, I have logged the bug and a developer is looking at it.  As soon as the developer can identify the problem in the code, we might be able to figure out a workaround, but for now, unfortunately, there isn't a workaround other than manually fixing the offset.  😞  Sorry, I know this is a pain.  I'll continue to follow up and poke the dev. 
Translate
Report
Community Beginner ,
Nov 15, 2016 Nov 15, 2016
Thanks for the update Chad. 
Translate
Report
Community Beginner ,
Dec 13, 2016 Dec 13, 2016
Hi Chad, just checking in to see if there's any update on this issue? 
Translate
Report
Adobe Employee ,
Dec 14, 2016 Dec 14, 2016
Hey Mark, Sorry, no update.  It's still on the developer's list of priorities but lower on the it.
Translate
Report
Community Beginner ,
Feb 12, 2017 Feb 12, 2017
Hi Chad, any update on the fix?
Translate
Report
Adobe Employee ,
Feb 13, 2017 Feb 13, 2017
Hey Mark, yeah sorry, still no update.
Translate
Report
Adobe Employee ,
Nov 26, 2021 Nov 26, 2021
LATEST

Fixed in 22.0 or later.

Status Fixed
Translate
Report