Alpha channel transparency
Moderators: XnTriq, helmut, xnview
-
- Posts: 884
- Joined: Sun Apr 10, 2005 4:29 pm
Alpha channel transparency
I had simply assumed that xnview supported alpha channel transparency when viewing images, but it appears that it doesn't. Is there some obscure option to enable it? If not, consider this a feature request.
-
- Author of XnView
- Posts: 42453
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Alpha channel transparency
You can view alpha channel in menu View/Show MaskDrahken wrote:I had simply assumed that xnview supported alpha channel transparency when viewing images, but it appears that it doesn't. Is there some obscure option to enable it? If not, consider this a feature request.
Pierre.
-
- Posts: 884
- Joined: Sun Apr 10, 2005 4:29 pm
Hmm... 2 issues with that....
1) The option is greyed out in all 3 installations I have of xnview (1.7, 1.803, 1.82alpah (without WIA). However, I have a copy of xnview.exe in a zip file by itself, and when I run it, the option works. Any idea what's going on with that??
2) That's not what I meant. That will show the mask itself, but it won't show the image with the alpha transparency. It shows the image with no transparency at all, or shows the mask alone, but doesn't render the image with the alpha transparency.
1) The option is greyed out in all 3 installations I have of xnview (1.7, 1.803, 1.82alpah (without WIA). However, I have a copy of xnview.exe in a zip file by itself, and when I run it, the option works. Any idea what's going on with that??
2) That's not what I meant. That will show the mask itself, but it won't show the image with the alpha transparency. It shows the image with no transparency at all, or shows the mask alone, but doesn't render the image with the alpha transparency.
-
- Author of XnView
- Posts: 42453
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
So it's not a 32 bits picture??Drahken wrote:Hmm... 2 issues with that....
1) The option is greyed out in all 3 installations I have of xnview (1.7, 1.803, 1.82alpah (without WIA). However, I have a copy of xnview.exe in a zip file by itself, and when I run it, the option works. Any idea what's going on with that??
You have merge with alpha2) That's not what I meant. That will show the mask itself, but it won't show the image with the alpha transparency. It shows the image with no transparency at all, or shows the mask alone, but doesn't render the image with the alpha transparency.
Pierre.
-
- Posts: 884
- Joined: Sun Apr 10, 2005 4:29 pm
1) It should be, considering it has an alpha channel, but it seems to only be 24bit. This is the image in question: http://allspark.net/cypherswipe/xnview- ... shadow.png
Why would an installed version of xnview have the option greyed out, but the exact same version of the prog when run from within a zip file works?
2) That just removes the alpha portion entirely, merging it into the background as though it never existed.
How xnview normally shows it:

With view mask turned on:

With mask merged:

The way the image should appear:

Edit: I was just taking another look through the options and found that read->PNG->compose with alpha wasn't checked. Checking it produced this (still incorrect) result:

Edit 2: I just tried to do the view mask/combine alpha after turning this option on, and found it greyed out. After going back to the installed version and unchecking this option, the view mask/combine alpha are no longer greyed out. At least this answers the one question.
Why would an installed version of xnview have the option greyed out, but the exact same version of the prog when run from within a zip file works?
2) That just removes the alpha portion entirely, merging it into the background as though it never existed.
How xnview normally shows it:

With view mask turned on:

With mask merged:

The way the image should appear:

Edit: I was just taking another look through the options and found that read->PNG->compose with alpha wasn't checked. Checking it produced this (still incorrect) result:

Edit 2: I just tried to do the view mask/combine alpha after turning this option on, and found it greyed out. After going back to the installed version and unchecking this option, the view mask/combine alpha are no longer greyed out. At least this answers the one question.
-
- Posts: 47
- Joined: Tue Sep 13, 2005 10:05 am
Ahhh!! you really already planned to do the combine alpha-thing with the set backgroundcolor??! Great Great Great!!!
*jump*
I think this also belongs onto a Hotkey like "M" for show alpha mask.
furthermore: I'd suggest to add an option to keep combine alpha checked when switching to next image.
btw: hmmm maybe sooner or later a hotkey-editor is needed?

I think this also belongs onto a Hotkey like "M" for show alpha mask.
furthermore: I'd suggest to add an option to keep combine alpha checked when switching to next image.
btw: hmmm maybe sooner or later a hotkey-editor is needed?
