Page 1 of 1
Alpha channel transparency
Posted: Thu Dec 15, 2005 12:16 pm
by Drahken
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.
Re: Alpha channel transparency
Posted: Thu Dec 15, 2005 1:19 pm
by xnview
Drahken 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.
You can view alpha channel in menu View/Show Mask
Posted: Thu Dec 15, 2005 2:28 pm
by Drahken
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.
Posted: Thu Dec 15, 2005 2:38 pm
by xnview
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??
So it's not a 32 bits picture??
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.
You have merge with alpha
Posted: Thu Dec 15, 2005 3:22 pm
by Drahken
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.
Posted: Mon Mar 27, 2006 2:10 pm
by eweryboooody
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?
