[bug] The image scale of Quick Export is incorrect

  • 1
  • Problem
  • Updated 10 months ago
  • (Edited)
Photoshop version: 20.0.6

This is the screenshot of the document:



This is the screenshot of the "Quick Export" image (No matter PNG or JPG, "Export As" is no problem):


Photo of Digidea Lee

Digidea Lee

  • 5 Posts
  • 2 Reply Likes

Posted 10 months ago

  • 1
Photo of Mark Payne

Mark Payne

  • 133 Posts
  • 100 Reply Likes
I just tested this a few times on 20.0.3 Win 7, and did not get this error.
I tried PNG and JPEG.

That's odd.
Photo of Digidea Lee

Digidea Lee

  • 5 Posts
  • 2 Reply Likes
I provided test files and some details under Max Johnson's reply.
Photo of Max Johnson

Max Johnson, Champion

  • 624 Posts
  • 338 Reply Likes
Does your layer have a mask on it? I know that the export will use the layer mask as the export size if you are doing quick export from the context menu in the layer panel...

Try this:
  1. With the "Transform" tool active, do "Select->All (ctrl+A)"
  2. "Image->Crop" (this is different from the "Crop" tool)
Now try exporting. This should have cleared out any masks or pixels that were secretly off canvas...
Photo of Digidea Lee

Digidea Lee

  • 5 Posts
  • 2 Reply Likes
Hi, there is no mask, and I exported it through "File - Export - Quick Export".

The quick exported PNG, JPG, GIF have the same problem, but SVG (the embedded bitmap) is correct.

I also tried PS CC 2015.1.2 x32, the image it quick exported is also incorrect, but it is different from CC 2019. (CC 2015: The scale is correct, but the content is not in the right place.)

I uploaded these files here, you can try with it: https://github.com/LIXiangChen/ps_bug
(Edited)
Photo of Max Johnson

Max Johnson, Champion

  • 624 Posts
  • 338 Reply Likes
Thanks! Did a test and it repros on my computer. 

The single layer has pixel data outside the canvas... you can drag the layer around and see there's more characters off-frame.

Doing the crop process I listed above "fixes" it... but I would still count this as a bug.

Other fun thing that "fixes" it is to add a second layer, fill it with a color, and change the opacity to 0%. This tricks it into finding the proper canvas edges?
Photo of Digidea Lee

Digidea Lee

  • 5 Posts
  • 2 Reply Likes
Yes, the reason is that the layer has content outside the canvas, as you said.

This can be solved manually by cropping, or use "Export As" can also get the correct result.

But it is still a program bug. After all, "Export As" and "Quick Export" (from "File" menu) get different results, it proves this.

I think they should all be based on the edge of the canvas, not the edge of the layer content.
Photo of eartho

eartho, Champion

  • 1480 Posts
  • 497 Reply Likes
Digidea, both QE and EA are very quirky, and have issues with artboards and canvas bounds. The other trick to use for your issue is to add a blank layer mask to the layer in question and that will "crop" the export.
Photo of eartho

eartho, Champion

  • 1480 Posts
  • 497 Reply Likes
Digidea, both QE and EA are very quirky, and have issues with artboards and canvas bounds. The other trick to use for your issue is to add a blank layer mask to the layer in question and that will "crop" the export.
Photo of Mark Payne

Mark Payne

  • 133 Posts
  • 100 Reply Likes
Very interesting stuff here! Changing the layer opacity!!

Wow.