• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Photoshop not presenting alpha channel as expected (like I'm seeing GIMP does)

Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Greetings,

I have a need to edit the channels independently (the values in my image mean things numerically rather than just what it looks like visually - so I need to edit the grayscale values in each of the R - G - B - and A channels seperately).

I've searched through google and other forum posts and others bring up the concept of not understanding alpha versus transparency - but I have yet to see an explanation that fully explains what I'm experiencing.

The closest was http://forums.adobe.com/message/2563436#2563436 But while I saw the exact same symptoms being described, the specific question was never really answered.

Hopefully, a concrete example with pictures will be able to communicate the issue and solicit a useful explanation and/or solution.

While, I'm specifically working with an RGBA image, below is a screenshot of a PNG that demonstrates the exact same behavior or symptom.  The screenshot below represents the PNG inside GIMP and PS CS4.  BTW, if you'd like to see or play with the image yourself, you can grab the same image at http://www.libpng.org/pub/png/img_png/imgcomp-440x330.png

Alpha_treatment_in_GIMP_vs_PS.jpg

GIMP, interestingly enough loads the PNG as expected - I see the transparency of the image treated as a true alpha channel.

In PS CS4 however, the transparency seems to be somehow embedded in the Red - Green - and Blue channels; but NO seperate alpha channel.

I can create the alpha channel through Select - Load Selection - Layer 0 Transparency - and pasting that into a newly created alpha channel - but the color channels still have the transparency mixture symptom - rather than showing the JUST the color component of that channel.  (Note the channel differences of the GIMP's Red Channel versus PS's Red Channel  - Said in another way, the yellow ball in the upper left of the image should have a red value of 255, so the Red Channels grayscale upper left ball should be white like it is in GIMP, rather than Gray as it is in PS).

I never thought I'd experience GIMP being superior to Photoshop - so hopefully somebody can shed light on what is going on - what configuration I may have myself in - or a process to get the channels seperated out in the manner I wish to work with them.   Furthermore, maybe somebody can educate the Photoshop community what the difference between transparency and alpha[transparency] is.  I haven't found quite the right explanation that makes the light go off in my head yet.  As best as I have gleened "Alpha", which can be applied to any kind of channel, typically is in reference to transparency - and is applied as a document-whole transparency (as opposed to transparencies applied at a layer level - such as a layer mask).

Views

33.4K

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
community guidelines
Adobe
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Open the PNG then do "Layer > Layer Mask > From Transparency" to make the image opaque with a layer mask causing transparency. Shift-click the mask thumbnail to disable it and make the image and its channels opaque.

Screen-shot-2012-11-08-at-19.06.36.png

You might find the SuperPNG plug-in useful: http://www.fnordware.com/superpng/

.

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

That is what I'd like to see, but unfortunately I don't seem to have the option of "Layer > Layer Mask > From Transparency" in Windows Photoshop CS4 .

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Keep in mind that after the end of 2012 the discounted upgrade offer ends for all but Photoshop CS5 users.

-Noel

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Then install the plug-in that I linked. It can give you RGB and Alpha channels as below.

Screen-shot-2012-11-08-at-20.25.31.png

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

conroy,  thanks for the help!  what subdirectory, if any, underneath  Plug-ins do I place this?  The unzip content (SuperPNG\Photoshop\32-bit) doesn't indicate where I actaully place the plugin (for example, something like a file format plugin like Targa.8BI would live in Plug-ins\File Formats).  Will this capability work for my RGBA files as well?

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Sorry, I use OS X and newer releases of Photoshop than CS4, so I can't safely advise where you should install the Windows plug-in. Someone reading this will help soon, I'm sure.

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Assuming the instructions say "copy it to your Plug-ins folder", then that's where it goes.

Do you have a 64 bit OS?  If so, the folder for Photoshop 32 bit would be:

C:\Program Files (x86)\Adobe\Adobe Phtotoshop CS4\Plug-ins

I'd suggest making a subfolder, named for the plug-in.  It will help you keep things straight in the future, and you can put plug-ins in any number of subfolders under ...\Plug-ins.  Photoshop sorts out which ones are for opening/saving files, filtering documents, etc.

-Noel

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Noel,

Excellent - very useful information - I had always assumed the subdirectories where specific names and certain plugins needed to live.

conroy, 

I've placed the plugin as advised by Noel - but I still don't see an option for

"Layer > Layer Mask > From Transparency" in Windows Photoshop CS4 Extended - so I assume it is a capability that is no longer exists in CS4.

...bummer, I thought we were close.

Does anyone have any suggestions then how to display the R - B - B - A  data then in  seperate channels in Photoshop CS4 (as it is presented in GIMP per the example above)?

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Did you restart Photoshop after installing the plug-in?

The plug-in doesn't add a "From Transparency" command. It presents the following dialog when a PNG is opened.

Screen shot 2012-11-08 at 21.12.42.png

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

conroy,

I've

placed the plugin in:

C:\Program Files (x86)\Adobe\Adobe Photoshop CS4\Plug-ins\SuperPNG

              SuperPNG.8bi

Restarted - Making sure I was running the 32bit version - since there only appears to be a 32-bit plugin.

Opened a png (the one in my example).

...but I never see the dialog you mention.

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Try going to "File > Open" and seeing if SuperPNG is showing up in the Format dropdown menu when a PNG is selected. I find the plug-in to be used by default for PNG when dragging files to Photoshop or opening via right-click in Finder when the plug-in is installed, but check in your "File> Open" dialog, anyway.

Screen shot 2012-11-08 at 21.20.54.png

When "Always bring up this dialog" is disabled in the plug-in interface shown in previous post, you need to use "File > Open" and hold down Shift when clicking Open button to get access to the plug-in's options.

.

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

conroy,  I'm am able to load the PNG per your instructions of manually opening up the .png with the SuperPNG format.  Now I'm trying to figure if it is better to get my .rgba's through to a png with the method. 

R_Kelly's method almost worked - except the color layers still have transparency in them rather than being black in the absence of that color - and more importantly, I can't seem to edit the individual channels.  (and I'm a little concerned about the 8 copies that I merge - if they will retain the exact value the original image would have if it would come in like GIMP imports the image).

My goal is to have each of the channels R - G  - B - A  all be editable grayscale channels - I need to have it come in exactly because the values actually mean information (rather than just visual imagery).  ...basically how GIMP treats channels; but obviously I want to use Photoshop.

Votes

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
community guidelines
Community Expert ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

All the black means is the transparency in the case of your image.

If your were to load the image as conroy has you would need to Crl click on the alpha channel to get your selection and then add a layer mask so you can see the image as it looks in gimp.

In the method i posted, the image should look just like it does in gimp and you should be able to edit the transparency or edit the individual channels.

Gimp just shows the alpha channel (transparency) where as newer versions of photoshop do not, but the alpha channel (transparency channel) is still there in photoshop

as Semaphoric explained in post #3.

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

R_Kelly, 

(and I must thank you and everybody for their patience in this thread!)

In my specific case the black in any of the four seperate channels actually means something - it means a value of 0.

Visually, the following two would be result in the same exact image...

transparency in the Red [grayscale] channel       -   combined with transparency from the alpha channel

full black in the Red [grayscale] channel            -   combined with transparency from the alpha channel.

However in my specific case they do not; AND I need to be able to edit the values in each of the 4 seperate channels.

BTW, It appeared as it the Filter Factor  that Semaphoric mentioned (I assume the "Transparency" ones where what I needed) were "Currently Down!!!" so I was unable to attempt that path.

http://thepluginsite.com/resources/freeff.htm

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Seems like a lot of wheel-spinning to avoid having to upgrade to Photoshop CS6, with the Layer Mask From Transparency option.  The combined time people have put into writing here exceeds the $200 upgrade price, almost no doubt. 

-Noel

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Noel,

will the "Layer Mask From Transparency option" keep place the color channels in their "opaque" state like I require? 

...if so, you are correct about the cost/benefit.   Or I could use GIMP for free!    (I couldn't help myself Noel!)

  ...but seriously I really wanted to figure out a way to stay in Photoshop to benefit from the other features where it clearly is a winner.  I am just amazed that it seemingly doesn't have a way to treat incoming files with alpha in what I consider the "correct" way - or at the very least have someway of getting it easily into that form - color and alpha channels in grayscale form that I can edit independently.

I learned alot (and I hope other people benefited as well) from the journey!  ...Thanks everybody!

I'd love to see if anybody has a brilliant or clever solution - but I agree with Noel - probably enough wheel-spinning on this one.

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Steve_Porter wrote:

Noel,

will the "Layer Mask From Transparency option" keep place the color channels in their "opaque" state like I require? 

Yes, you saw it in my first screenshot in the thread!

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

conroy,

So you are on CS6?

So some of the confusion in the prior posts - I ultimately will be needing to do these types of things in .rgba  -  I just used PNG as a shareable example (unfortunately I can't directly share what I'm doing).

The above examples that I confused you with, was to demonstrate what I gleaned from your SuperPNG capability that is is going on with the channels without the SuperPNG plugin (or in my case, if I needed to load .rgba).  You were correct, I specifically wanted the opaque versions - I went through all that trouble (and confusion evidently) to demonstrate what I think I figured out what was going on.  Thanks for sharing the SuperPNG, I think it was key to see what I suspect is going on in CS4 of Photoshop - but I missed the the "Layer Mask From Transparency" was a CS6 capability.

So the comments about not being able to edit in the RGB are when you DON'T use SuperPNG (or in my case try to load an .rgba) - I obviously didn't make it clear enough the compare and contrast of the point I was trying to make - there was a certain flowof the example (and it is getting complicated!);  apologies.

conroy and Noel especially, thanks for sticking in there with me!

Votes

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
community guidelines
Community Expert ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

If your interested in a plugin that mimicks the layer mask from transparency in cs5/cs6 you could install the pixel bender plugin

for photoshop cs4 and then use the removeTransparency.pbk (pixel bender kernal file).

It also works on files other than pngs.

The only steps you have to do is load, save the selection and add the layer mask (if want the layer mask part, which could be recorded in an action).

Pixel bender from adobe labs:

(you have to click where it says pixel bender for cs4 then look on the next page for archived downloads)

http://labs.adobe.com/technologies/pixelbenderplugin/

removeTransparency.pbk

(right click on the page and Save As)

http://neo.cycovery.com/removeTransparency.pbk

Example action and the result:

Untitled-25.png

After shift clicking on the layer mask:

Untitled-44.png

pixel bender plugin:

pb 3.png

If you want to install the plugin and need directions in addition to those at adobe labs, we can provide help.

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

I guess I just don't see a problem manipulating R, G, B, and a layer mask.

The Layer Mask is available in the Channels panel if you want to manipulate it directly, and you can view the RGB with or without the transparency just by shift-clicking on the layer mask to disable/enable it.

Seems like everything that's needed to me.  Did I miss something?

Transparent1.png

Transparent2.png

Transparent3.png

-Noel

Votes

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
community guidelines
Community Beginner ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Noel Carboni wrote:

Seems like everything that's needed to me.  Did I miss something?

The issue is, if I'm trying to read an .rgba (which Photoshop is seeming to have an issue with) I don't have the benefit of a feature that can load "Alpha appear as a seperate channel" with just ANY format - only PNGs using the SuperPNG plugin.

Futhermore, if I manually construct a image in Photoshop using the layer mask approach, I STILL have an additional step of moving the layer mask back out to [alpha] channel so that I can write out into .rgba properly (no format that supports transparency like.rgba or tiff,  will give you the  Save Option of "Alpha Channels"  unless the transparency is correctly placed in a true "Alpha" channel - as opposed to a Layer Mask).

BTW, I have a different issue now where Photoshop CS4 won't even read my .rgba's - It seemingly writes them correctly -  once you move the transparency layer mask out to an Alpha Channel and save with PhotoShop -  I can read an .rgba with GIMP just fine.  but if I try to read this very same file into PhotoShop - Photoshop CS4 gives me a "Could not complete your request because of a program error."  Does anybody know if there is potentially a newer version of the SGI .rgba plugin than what I'm using (or some configuration I need to be aware of)?

So in summary - I didn't think the format would matter for the capability I was trying to ask (unfortunately, since there was a path with SuperPNG that led us down a road that was not available to the true format that I was ultimately going to deal with - apologies - my intent was to find an example the simply demonstrated the way CS4 dealt with alpha - which I still argue isn't as flexible as it should be). I think it was still useful to have the SuperPNG to help figure out what was going on.

Looks like I just need to upgrade to CS6; but unfortunately, there are still some manual steps to move around the layer mask to a true channel alpha mask just before writing.  (and potentially a bigger issue with the .rgba reader plugin).

I was just surprised I have to do this much wrangling with Photoshop.

Votes

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
community guidelines
LEGEND ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Steve_Porter wrote:

The issue is, if I'm trying to read an .rgba (which Photoshop is seeming to have an issue with) I don't have the benefit of a feature that can load "Alpha appear as a seperate channel" with just ANY format - only PNGs using the SuperPNG plugin.

Looks like I just need to upgrade to CS6; but unfortunately, there are still some manual steps to move around the layer mask to a true channel alpha mask just before writing.  (and potentially a bigger issue with the .rgba reader plugin).

As you have surmised, you need a Photoshop that has the Layer Mask from Transparency function (or the Pixel Bender plug-in R_Kelly mentioned).

What additional steps do you need?  I'm not getting that.  Just save the partially transparent file and Photoshop will put all the channels in the right place to make it partially transparent.

You seem to keep wanting to make this more complex than it is.

-Noel

Votes

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
community guidelines
Community Expert ,
Nov 08, 2012 Nov 08, 2012

Copy link to clipboard

Copied

Yes, i'm confused too.

Do you need the file for another application, besides gimp, that doen't read the transparency channel correctly?

Votes

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
community guidelines
Nov 09, 2012 Nov 09, 2012

Copy link to clipboard

Copied

Send me a copy of some .rgba files that fail to read.

I don't think the SGI format plugin has been changed in a long time, but there's always compiler changes and obscure bugs yet to be found...

Votes

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
community guidelines