Skip to main content
Participant
December 16, 2020
Answered

Clipping Path in PNG File?

  • December 16, 2020
  • 3 replies
  • 5332 views

Hi All,

When I save a Jpeg with a clipping path as a PNG file in Photoshop, why doesn't the clipping path save as well?
(when I open the PNG file the clipping path has disappeared)

Thanks

Correct answer Conrad_C

What is happening is exactly what’s expected. Each file format like PNG and JPEG handles its own specific list of features, no more and no less, regardless of what software you use to make them.

 

What clients want is a subject with the background cut out. There is more than one way to hide the background. You can apply a mask, which turns into a transparent alpha channel when you save. Or you can draw a clipping path around the subject.

 

The JPEG file format can store a clipping path, but cannot store a transparency mask (an alpha channel).

The PNG file format is the opposite: It can store a transparency mask as an alpha channel, but it doesn’t provide any way to store a clipping path.

 

This is not a problem in Photoshop, because whichever way you cut out the background, you can convert it to an alpha channel or a clipping path before exporting the file to the file format the client asked for.

 

For example, if I’m cutting out a background for your client and I used the Pen tool to create a clipping path, and the client is asking for PNG, then I know that when I’m done drawing the cut-out path, I must choose Layer > Vector Mask > Current Path to convert the path into a transparency mask, which PNG is able to store as an alpha channel. Then, when exporting as PNG, I must make sure that transparency is enabled in the Export settings.

 

Again, this is because of the capabilities of file formats, not anything to do with Photoshop, so all of this would still be true even if you were using a different photo editor by another company.

3 replies

Participant
June 23, 2022

You cannot save a PNG with an active clipping path,I would suggest to save clipping path in jpg , psd or tiff format

Conrad_C
Community Expert
Conrad_CCommunity ExpertCorrect answer
Community Expert
December 16, 2020

What is happening is exactly what’s expected. Each file format like PNG and JPEG handles its own specific list of features, no more and no less, regardless of what software you use to make them.

 

What clients want is a subject with the background cut out. There is more than one way to hide the background. You can apply a mask, which turns into a transparent alpha channel when you save. Or you can draw a clipping path around the subject.

 

The JPEG file format can store a clipping path, but cannot store a transparency mask (an alpha channel).

The PNG file format is the opposite: It can store a transparency mask as an alpha channel, but it doesn’t provide any way to store a clipping path.

 

This is not a problem in Photoshop, because whichever way you cut out the background, you can convert it to an alpha channel or a clipping path before exporting the file to the file format the client asked for.

 

For example, if I’m cutting out a background for your client and I used the Pen tool to create a clipping path, and the client is asking for PNG, then I know that when I’m done drawing the cut-out path, I must choose Layer > Vector Mask > Current Path to convert the path into a transparency mask, which PNG is able to store as an alpha channel. Then, when exporting as PNG, I must make sure that transparency is enabled in the Export settings.

 

Again, this is because of the capabilities of file formats, not anything to do with Photoshop, so all of this would still be true even if you were using a different photo editor by another company.

Iain700Author
Participant
December 17, 2020

Thank you Conrad!

Exactly what I was looking for.

I appreciate you taking the time to explain this clearly.

This is a great help to me and also when getting back to my client, who is probably being advised by her inexperienced designer.

have a good Xmas everybody,

Iain

c.pfaffenbichler
Community Expert
Community Expert
December 16, 2020

Not all file formats support everything that’s possible in Photoshop. 

 

Why do you need a Clipping Path in a png?

Iain700Author
Participant
December 16, 2020

Interesting to hear that.
A client has asked for images to be cut out and supplied as PNG files.
It would be helpful to explain to her why there is no clipping path along with the image.
cheers

c.pfaffenbichler
Community Expert
Community Expert
December 16, 2020

png supports Transparency (preferably png-24, I guess), so what do they need the Path for once the Layer is clipped? 

 

In any case you should keep the original layered file in a less limited format like psd or tif.