Convert compressed PNG-8 back to PNG-24
Solution 1
I don't know of any specific tool for that purpose, but I do know that with GIMP you can open the PNG8 and change the colorspace using the menu path Image->Mode->RGB. Unfortunately I do not have Photoshop to test if the new file is openable myself, however I've provided a version of the sample you provided where the colorspace has been changed so you can give it a try.
https://docs.google.com/open?id=0B6Ad3OCQFyOINmMyOGE0ZmEtMDhjOC00OTZmLWE4M2EtYTYzZmJlZjMyNTA0
Solution 2
Photoshop displays transparency wrong: You've got PNG8 with alpha not supported by Photoshop. For editing, keep PNG in 24-bit, and convert to PNG8+alpha only when done. You can convert PNG8 to 24-bit by resaving it in Preview.app, Fireworks or with: pngout -s1 -c6 -force file.png
The answer comes from http://calendar.perfplanet.com/2010/png-that-works/ under the troubleshooting heading.
I also created a YouTube video to show the process at http://www.youtube.com/watch?v=aCO37zYhEp0.
Related videos on Youtube
Igor
Updated on September 18, 2022Comments
-
Igor over 1 year
I have a PNG-8 image with transparency, which, due to this problem, I cannot edit in Photoshop (CS5).
Is there a tool that would convert PNG-8 back to PNG-24, preserving transparency layer, so that the file will open correctly in Photoshop?
(The other way to deal with that problem would be to capture a screenshot of any browser displaying that PNG-8 file correctly - but then it would be necessary to induce the transparency layer back, which I'm not sure how is done.)
-
TeemoMain over 12 yearsNeeded this exact same file... thx from the future! ;)
-
Prajwal Dhatwalia almost 4 yearsThe installation command no longer works on Ubuntu 20.4