Skip to main content
Participant
March 14, 2022
Answered

Export As PNG at 16-bits DOES NOT WORK in PS version 23.2.1

  • March 14, 2022
  • 4 replies
  • 10121 views

In the latest version of PS (23.2.1), "Export As" PNG at 16-bits DOES NOT WORK.  No matter what you set in PREFERENCES or in "EXPORT AS", you cannot export a png at 16-bits.

 

Also, the keyboard shortcut for "flow" (in the brush tool) of PS no longer exists.  It did exist in earlier versions of PS

Correct answer J453

I don't believe Export As or Save for Web have ever supported exporting 16-bit PNG. 

Save a Copy will get do it.

4 replies

November 14, 2022

somebody PLEASE just say--nothing else!--how to convert a 16-bit "whatever" (in my case, .exr) to a 16-bit PNG because Photoshop 2023 isn't letting me do it in Save As Copy, Export As, or anything else I can see.

D Fosse
Community Expert
Community Expert
November 14, 2022

Save A Copy does it just fine here:

 

However, Export and Save For Web are both restricted to 8 bit, since they are intended for web/screen/mobile, where 16 bit makes no sense.

Nancy OShea
Community Expert
Community Expert
March 15, 2022

@TommyHiltonHead,

I think you're confused about the terminology.

PNG 8 can support a maximum of 256 colors only. It's a lower quality PNG.  

PNG 24, on the other hand, can contain 16.7 million colors. That's the highest quality PNG.

 

8-bit images can hold 256 tonal values in three different channels (red, green, and blue).  That equals 16.7 million colors.

Whereas 16-bit images have 65,536 tonal values in the same three channels. This far exceeds what the highest PNG is capable of.

 

So to answer your question, you must use 8-bit images when exporting to PNG 8 or PNG 24.  Nobody can change that.

 

Nancy O'Shea— Product User & Community Expert
rayek.elfin
Legend
March 15, 2022

@Nancy OSheaYou are wrong in regards to PNG not supporting 16-bit images - unless I misunderstand your answer, PNG does support 2^16 tonal values in each colour channel  The following table is sourced from the PNG wikipedia page:

PNG actually does support full 16-bit PER CHANNEL images.

 

You are correct that terminology is one of the confusing factors here.

PNG8 generally refers to a 8bit indexed image - an image that saves a 0-255 values colour table, and is restricted to 256 colours. 2^8 = 256 colours. It is often said that PNG8 can only support 1bit transparency (either on or off), but the PNG specs actually allow for stacking a second colour table of transparency values, and PNG8 therefore can support full 8bit transparency. *see note below

PNG24 refers to a full colour PNG image, with 8bit per R, G, B channel. Each 8bit channel contains 0-255 values: 24bit = 2^24 (or R 2^8 * G 2^8, * B 2^8) = 16,777,216 colours. It lacks an alpha/transparency channel.

PNG32 refer to a full colour PNG image, with an additional 8bit alpha/transparency channel - so 2^24 for colour information, and 2^8 for transparency values.

 

When we talk about a 8bit, 16bit, or 32bit image, generally the number of bits PER CHANNEL are referred to. That means 2^8, 2^16, and 2^32 values per colour channel.

 

So which image file formats support 2^16 values per channel? Correct, PNG is part of that list. What is more, it can even include a full 2^16 transparency/alpha channel. So in fact it supports MORE than 16bit images: 16bit per channel + a 16bit alpha channel.

 

PNG does not support 32bit per channel, however.

 

Image editors tend to divide web export from saving an image in a certain specific file format. Therefore the 16bit image export is generally found in a completely different place in the user interface compared to PNG8,16,32 export for web purposes. In Photoshop, as @J453 mentioned, to export a 16bit image as PNG we have to work in 16bit image mode, and then export via File-->Save As (PNG).

(Technically it is impossible to save a 16bit full range image in Photoshop, and it will effectively be downgraded to 15bit.**)

 

Finally, PNG also supports PNG1, PNG2, PNG4, PNG5, PNG6, and PNG7 indexed tables: 2,4,8,16,32,64, and 128 colour limits. This may crunch image files sizes further. Unfortunately, the new Photoshop Export As dialog does not expose these to the user. The older legacy web export dialog does, however. But neither allow for that second table of transparency values when using these or PNG8.

 

*Note: Photoshop does not support this. Fireworks did/does, as do various PNG optimization tools. Older versions of PS CC seemed like they supported this, but the 8bit png was actually exported as a 32bit one, according to one of the developers. Refer to the conversation here:

https://community.adobe.com/t5/photoshop-ecosystem-bugs/export-as-8-bit-bug/idi-p/12772630#comments

I pointed this out to the developer in question, and he is looking into whether it is possible (hopefully) to implement this).

** A major caveat of Photoshop's legacy code core from the nineties is that its 16bit image mode cannot handle more than 15bit plus one value. This means it is impossible to export a full range 16bit PNG image from Photoshop. In practice the number of colour values are halved from 65,536 to 32,769 2^15+1 values.
Luckily, Photoshop is the only image editor on the market with this issue, so it is possible to work around the problem by switching to a different editor when circumstances require this (HDR effects workflows, scientific purposes, astronomy, CGI).

 

TheDigitalDog
Inspiring
March 16, 2022

@TheDigitalDogthere is life outside the fields of photography and web imagery, know. 😉

16bit png images are used in 3d art, game dev, research, astrophotography, elevation data, and so on.



@rayek.elfin wrote:

@TheDigitalDogthere is life outside the fields of photography and web imagery, know. 😉

16bit png images are used in 3d art, game dev, research, astrophotography, elevation data, and so on.


 

Used for what with respect to the higher bit depth?

Author “Color Management for Photographers" & "Photoshop CC Color Management/pluralsight"
Participant
March 15, 2022

You may be correct, but it begs the question of why, under "Export As", there is a box to tick whether or not you want an 8-bit png. It makes me think that if one does not tick that box, you would expect to get a 16-bit png.  And since, indeed, you can easily get a 16-bit png file with "Save As" (sans the other goodies found under "Export As"), why wouldn't you get a 16-bit png file if you did not tick the 8-bit box?

J453Correct answer
Legend
March 14, 2022

I don't believe Export As or Save for Web have ever supported exporting 16-bit PNG. 

Save a Copy will get do it.

Participant
August 22, 2022

Saving as a copy does not work. Everytime I try to make my file 16 bit it automatically goes back to 8 bit no matter what I do with my files it just always wants to go back. I work in gradients and there's color bands appearing because of this in many of my photos. Please have the team continue to work on this thanks!

Nancy OShea
Community Expert
Community Expert
August 22, 2022

@Normality is Boring,

What file type are you attempting to Save As?

16 bit is not supported by all file types.  For example, JPG is 8 bit only.

 

 

 

 

 

Nancy O'Shea— Product User & Community Expert