Page 1 of 2

Tga with alpha. Wrong visualization

Posted: Tue Jun 20, 2017 10:22 pm
by jeeg
I found a problem in Xnview.
It happens only with TGA 32 bit. In other words TGA with an alpha channel!

if I see a TGA with alpha and turn off the alpha from the view menu to only see the rgb channel I see a completely wrong picture full of black areas!
If I tell Xnview to only show me the alpha it shows a correct alpha!
If convert the TGA to other formats like Tiff I can see the rgb channels perfectly!

In this first picture you see the same image shown in Xnview and in Photoshop. Both application are showing only the rgb channel. The alpha is turned off in xnview too. As you can see in xnview I see a lots of black areas! This happen continuously with every tga 32bit.
https://pixhost.org/show/789/42423263_tga_issue.jpg

In this second picture you can see the alpha both in photoshop e xnview. No problem here. Same alpha in both application.
https://pixhost.org/show/789/42423259_tga_alpha_ok.jpg

In this third picture I show you the same image converted to a 32bit tiff. Perfect visualization in both photoshop and xnview!
https://pixhost.org/show/789/42423241_tiff_ok.jpg

Please! Fix the tga format! I always use that format and since the last version of Xnview I always have to use photoshop to see my tga instead!

Re: Tga with alpha. Wrong visualization

Posted: Wed Jun 21, 2017 7:47 am
by xnview
is it possible to have the TGA file

Re: Tga with alpha. Wrong visualization

Posted: Wed Jun 21, 2017 11:48 am
by jeeg
Yes of course!
But any tga with alpha have the same problems.

Here it is:
http://www.mediafire.com/file/7i8i337gt ... _color.rar

Meanwhile I installed XnviewMP and it works perfectly. It doesn't have any problems with 32bit tga.

One question if possible!
In xnviewMp I have to turn off "Use alpha channel" every single time I view a photo. Is there a way to have the "use alpha channel" always off?
I cannot find the option in the preferences.

Re: Tga with alpha. Wrong visualization

Posted: Thu Jun 22, 2017 11:54 am
by xnview
the file is correctly viewed, in Paint.net it's the same. So it's strange that photoshop create like that the alpha channel.

Re: Tga with alpha. Wrong visualization

Posted: Thu Jun 22, 2017 4:02 pm
by jeeg
Wait...
In Photoshop I see it correctly. I see it wrong in Xnview (lots of black areas).
In XnviewMP instead is perfect, like in photoshop.

Re: Tga with alpha. Wrong visualization

Posted: Fri Jun 23, 2017 6:47 am
by xnview
jeeg wrote:Wait...
In Photoshop I see it correctly. I see it wrong in Xnview (lots of black areas).
In XnviewMP instead is perfect, like in photoshop.
you have not the same thing in XnView Classic and XnView MP?

Re: Tga with alpha. Wrong visualization

Posted: Fri Jun 23, 2017 4:10 pm
by jeeg
No.
I see Tgas (32bit) wrong only in Xnview classic.
XnviewMP is correct.

I also tried resetting Xnview deleting the ini files. But I get same problems.
I use Xnview since years and only the last version give me problems with those tga. The previous versions always worked well!

Re: Tga with alpha. Wrong visualization

Posted: Sat Jun 24, 2017 4:06 pm
by xnview
as you can see, i have the same thing
Clipboard-1.png

Re: Tga with alpha. Wrong visualization

Posted: Sat Jun 24, 2017 6:00 pm
by XnTriq
Reproduced with XnView v2.40 :bugconfirmed:
  1. Download carrozzeria_color.rar.
  2. Extract carrozzeria_color.tga and open it in XnView Classic as well as XnView MP.
  3. Deactivate ViewUse alpha channel in both Classic and MP.

Re: Tga with alpha. Wrong visualization

Posted: Sat Jun 24, 2017 7:12 pm
by jeeg
The same file opened bot in Xnview and XnviewMP.
With alpha on (weird), with alpha off (the ugly black areas), with only the alpha visible (this is ok!).

Re: Tga with alpha. Wrong visualization

Posted: Mon Jun 26, 2017 11:44 am
by xnview
ok, i can reproduce, the problem comes with 'High zoom quality' - reduce

Re: Tga with alpha. Wrong visualization

Posted: Mon Jun 26, 2017 8:24 pm
by jeeg
Yesssss! It works now!
I turned off "reduce" from the options and now I see the Tga correctly!
Thank you!

Re: Tga with alpha. Wrong visualization

Posted: Wed Jun 28, 2017 11:01 pm
by jeeg
I discovered that I cannot keep "reduce" off! bwecause quality of scaled picture with "reduce" off is very bad!
So I have to keep "reduce" on and I turn it off only when needed (with 32bit tgas).

I hope you will solve this bug in the next xnview so I don't have to turn on and off that parameter everyday (or using XnviewMp that miss a few things).

Bye!

Re: Tga with alpha. Wrong visualization

Posted: Sat Jul 01, 2017 3:50 pm
by jeeg
I found the perfect solution to that bug!
I forget that is it possible to download the old versions of Xnview! How stupid I was!
So I removed Xnview 2.40 and I installed Xnview 2.39!
It works perfectly with 32bit TGAs.
Bye. :P

Re: Tga with alpha. Wrong visualization

Posted: Tue Sep 12, 2017 7:17 pm
by Peter2
Should be fixed with 2.41 - see download-page.