Highlighted

Alpha-mask vs. merged-Transparency in PSD format

New Here ,
Oct 08, 2012

Copy link to clipboard

Copied

Hi,

I'm trying to read merged RGBA data from PSD format. "Image data" section contains channels (RGBAA... where first A might be a merged transparency or Alpha mask). Can someone tell me how to know what is stored in first A? I noticed that:

  • when image contains no transparency, but has at least one Alpha mask, then first Alpha channel will contain that alpha mask
  • when image contains transparency, then first Alpha channel will contain merged transparency and other Alpha channels will contain alpha masks

So how do I reliably differentiate between Transparency and Alpha mask in first Alpha channel?

Regards,

Paulius Liekis

Unity Technologies

Views

1.8K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Alpha-mask vs. merged-Transparency in PSD format

New Here ,
Oct 08, 2012

Copy link to clipboard

Copied

Hi,

I'm trying to read merged RGBA data from PSD format. "Image data" section contains channels (RGBAA... where first A might be a merged transparency or Alpha mask). Can someone tell me how to know what is stored in first A? I noticed that:

  • when image contains no transparency, but has at least one Alpha mask, then first Alpha channel will contain that alpha mask
  • when image contains transparency, then first Alpha channel will contain merged transparency and other Alpha channels will contain alpha masks

So how do I reliably differentiate between Transparency and Alpha mask in first Alpha channel?

Regards,

Paulius Liekis

Unity Technologies

Views

1.8K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 08, 2012 0
Most Valuable Participant ,
Oct 08, 2012

Copy link to clipboard

Copied

This forum is to discuss the forums, not products

You need to ask your question in the forum for the Adobe product you are using

How to Select a Forum http://forums.adobe.com/docs/DOC-1015

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 08, 2012 0
Oct 20, 2012

Copy link to clipboard

Copied

All of that is well documented in the PSD format docs in the Photoshop SDK.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 20, 2012 0
Adobe Community Professional ,
Oct 30, 2012

Copy link to clipboard

Copied

And here is a link to the Photoshop SDK: http://www.adobe.com/devnet/photoshop/sdk.html

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 30, 2012 0