Photoshop: Export As - rotated shapes give unexpected results

  • 1
  • Problem
  • Updated 3 years ago
  • Solved
  • (Edited)
Bug when exporting rotated shapes from an artboard. 

Multiple errors occured:
- shape moved to the right
- pixels get cut off in bottom right corner
- artboard size changed from 48x48 to 48x47


Photo of Joy-Vincent Niemantsverdriet

Joy-Vincent Niemantsverdriet

  • 4 Posts
  • 0 Reply Likes
  • frustrated

Posted 4 years ago

  • 1
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16161 Posts
  • 2555 Reply Likes
I believe we have an issue logged for the output being trimmed by a pixel: https://github.com/adobe-photoshop/generator-assets/issues/394

We're not able to repro the shifting to the right with a rotated shape. 

Make sure you have all the updates installed: https://helpx.adobe.com/photoshop/kb/uptodate.html

If you can still repro with the current version can you post a sample file that exhibits the issue? (Creative Cloud or Dropbox link)
Photo of Joy-Vincent Niemantsverdriet

Joy-Vincent Niemantsverdriet

  • 4 Posts
  • 0 Reply Likes
Thanks for the quick reply.

I just updated to the latest version, still have all 3 problems.

Here's the file:
https://dl.dropboxusercontent.com/u/2188387/Icon.psb.zip
Photo of Chad Rolfs

Chad Rolfs, Employee

  • 103 Posts
  • 52 Reply Likes
Thank you for the file!  I can reproduce the issues you're seeing.
Photo of Chad Rolfs

Chad Rolfs, Employee

  • 103 Posts
  • 52 Reply Likes
We're looking into this.  Thank you for reporting it!  One workaround to the shifting problem is to select "Merge Shape Components" from the options bar with the Path Selection Tool active, however that still doesn't help with the clipping or incorrect output dimensions.  Oddly enough, the only correct output format is SVG (after you merge shape components).  Working on it...
Photo of Joy-Vincent Niemantsverdriet

Joy-Vincent Niemantsverdriet

  • 4 Posts
  • 0 Reply Likes
Thanks, I'm currently putting a vector mask over the artboard (using the dimensions of the artboard) which seems to solve all the issues
Photo of Chad Rolfs

Chad Rolfs, Employee

  • 103 Posts
  • 52 Reply Likes
Ah, nice workaround!
Photo of Chad Rolfs

Chad Rolfs, Employee

  • 103 Posts
  • 52 Reply Likes
This issue will be fixed in our next release.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16161 Posts
  • 2555 Reply Likes
Official Response