Skip to main content
Participant
November 9, 2016
Question

Export as to export png moves the image on the canvas

  • November 9, 2016
  • 11 replies
  • 34295 views

I'm not sure if this is normal behavior but I have a png with transparency. It's meant to be use as a texture for a 3D asset so both the transparency and it's exact placement on the canvas is very important. I've been using the file>export>export as to generate my pngs but am finding that the resulting png changes the location of the pixel information on the canvas. Everything shifts towards to middle. How/where can I manage this 'feature'?

    11 replies

    Silkrooster
    Legend
    November 9, 2016

    This is a known issue. I have not found a way yet to show Photoshop how much of the transparency should be included when saving as a png.

    In theory you should be able to create a path with no stroke or fill to outline the border. Currently I don't know if this is a short coming of the png format or a Photoshop issue.

    davescm
    Community Expert
    Community Expert
    November 10, 2016

    Silkrooster wrote:

    This is a known issue. I have not found a way yet to show Photoshop how much of the transparency should be included when saving as a png.

    Hi Silkrooster

    Is this image or system dependant? I've been trying to reproduce here and I am getting an exact copy every time with no movement (CC2017 and CC2015.5 on Windows 10)

    Dave

    mytaxsite
    Inspiring
    November 10, 2016

    Hi Silkrooster

    Is this image or system dependant? I've been trying to reproduce here and I am getting an exact copy every time with no movement (CC2017 and CC2015.5 on Windows 10)

    Dave

    davescm, I'm curious as to how you're not getting this issue.

    It seems as though the primary 'Export As...' feature is that it centers the image within the canvas bounds. This would be fine if there was a toggle but there isn't. This is worrisome especially if they phase out the now 'legacy' Save for web... These export windows are useful for making adjustments to resolution with preview, managing/previewing export colour profiles, etc. Much of my workflow involves making UV maps for 3D assets. I need pixels to remain where I placed them. Photoshop is MY employee and should do as I say. LOL.

    Here is the text explaining the export as centering 'feature':

    The Export As dialog updates the preview to center the image within those bounds.

    This option is useful in several scenarios, such as the following:

    • You're exporting icons that have various sizes, but that need to be centered within 50x50 px boxes.
    • You're exporting banner images that are smaller or larger than the required dimensions.

    If the image is larger than the canvas size, it is clipped to the width and height values set for the canvas. You can click Reset to revert the values to those set in Image Size.

    • Whether you want to convert the exported asset to the sRGB color space. This option is selected by default.
    • Whether you want to embed the color profile in the exported asset.

    Images below show an example of this happening. The image on my canvas sits slightly right of center and becomes centered when I move into export as. There are no options to be seen here or in the preferences that would allow me to turn off this centering feature.

    Again, I'm really fine with this being a thing and can think of many instances where it would be useful. I would just like to have the option to easily turn it on and off.


    Is it also the same when you "Save File As  ..." by going to File menu item?  In file Save as you can then choose png file format to test this out.