Skip to main content
Participant
Dec 16, 2020 12:00 PM UTC
Answered

Clipping Path in PNG File?

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

Conrad_C
Conrad_CCorrect answer
Community Expert
Dec 16, 2020 7:23 PM UTC

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.

10 replies

Participant
Jun 23, 2022 5:12 AM UTC

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

Translate
Conrad_C
Community Expert
Conrad_CCommunity ExpertCorrect answer
Community Expert
Dec 16, 2020 7:23 PM UTC

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.

Translate
Iain700Author
Participant
Dec 17, 2020 10:01 AM UTC

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

Translate
c.pfaffenbichler
Community Expert
Community Expert
Dec 16, 2020 12:20 PM UTC

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

 

Why do you need a Clipping Path in a png?

Translate
Iain700Author
Participant
Dec 16, 2020 4:04 PM UTC

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

Translate
c.pfaffenbichler
Community Expert
Community Expert
Dec 16, 2020 4:11 PM UTC

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. 

Translate