XnView does not support transparent PNG, ICO, GIF!

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
mrgreen

XnView does not support transparent PNG, ICO, GIF!

Post by mrgreen »

Transparent PNG + ICO are not supported in ALL 5 Modes:
- Thumbnail
- Preview
- View
- Convert
- Saving

Transparent GIFs are not supported in:
- Thumnail
- Preview

In other word, the Alpha-Channel (transparency) is total missing in all image formats.
A modern image viewer MUST be able to full support at least the 3 most common used formats like PNG/GIF/ICO. What the pite, that is not the case of XnView. This issue is already talked/confirmed in here since 1 years ago but still not getting fixed.


Test:
http://www.aadmm.de/de/dtdform.xml
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnView does not support transparent PNG, ICO, GIF!

Post by xnview »

mrgreen wrote:Transparent PNG + ICO are not supported in ALL 5 Modes:
- Thumbnail
- Preview
- View
- Convert
- Saving

Transparent GIFs are not supported in:
- Thumnail
- Preview

In other word, the Alpha-Channel (transparency) is total missing in all image formats.
A modern image viewer MUST be able to full support at least the 3 most common used formats like PNG/GIF/ICO. What the pite, that is not the case of XnView. This issue is already talked/confirmed in here since 1 years ago but still not getting fixed.


Test:
http://www.aadmm.de/de/dtdform.xml
Sorry but transparent gif & png are supported in viewer, and will be in preview. Do you have enabled transparency in options?
Pierre.
mrgreen

Post by mrgreen »

Yes, i have enabled the transparency in option as below:

setting 1:
Image

setting2:
Image
"The show transparency [<=8bit]" is enabled


And here are the results:

Thumnail and Preview Panel:
Image

View panel:
Image


All test files are taken from the link above.
Guest

Post by Guest »

I have forgetten to tell you my system:
Windows XP with Visual Style (Apple look) + Service pack 2
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Anonymous wrote:I have forgetten to tell you my system:
Windows XP with Visual Style (Apple look) + Service pack 2
Ok, for thumbnail it's currently normal, and preview is modified.
In view for 32bits picture, you have menu view/Show Mask - combien alpha
Perhaps it would be great to have only one option for 8bits + transparency index & 32 bits alpha pictures??
Option in Read/PNG affect the loading not displaying, you 32bits picture will be converted in 24bits, so do not selected it...
Pierre.
mrgreen

Post by mrgreen »

> and preview is modified.

What do you mean modified??

These are real screenshots and not a artwork modified to fool you here, with all respect sir.

I have tried all combinations as you said, nothing work. This problem has been confirmed by a lot of people in here. not me alone.

To be honest, have you EVER tested these images to compare to my results? I think no.
Please make me an screenshot with this image in your Thumbnail/Preview/View Panel:

http://www.aadmm.de/images/png-alpha-2.png

Thank you.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

mrgreen wrote:> and preview is modified.

What do you mean modified??
Sorry, is modified in next release
These are real screenshots and not a artwork modified to fool you here, with all respect sir.

I have tried all combinations as you said, nothing work. This problem has been confirmed by a lot of people in here. not me alone.

To be honest, have you EVER tested these images to compare to my results? I think no.
Please make me an screenshot with this image in your Thumbnail/Preview/View Panel:

http://www.aadmm.de/images/png-alpha-2.png
If you uncheck option/PNG/Combine 32bits, here is the result:
Image
Image
Image
Image
But one little problem is that currently i use always black as background color, not view background color... I have changed that...

But maybe there is a way to configure transparency view.
Currently we have option/View/Use transparency (for 8bits picture with transparency index) and View/Combine mask for 32bits picture!
So what is the best an option 'Use transparency' in option/view or in menu View??
Pierre.
mrgreen

Post by mrgreen »

> Sorry, is modified in next release
Sorry Pierre for the missunderstanding!! it was my mistake.

From the 3 first transparent .png in your screenshots, i have also the exactly result like you. The transparent areas will be either substituted with white, black or other background color. No transparency also.

For the last .gif image, i also have the same result like you. The transparency support in View panel is working well here. It lacks only a little bite in preview and thumbnail modus, but as you said it will be fixed in the next version.

> So what is the best an option 'Use transparency' in option/view or in menu View??
From my point of view, i would say to use the option 'Use transparency' for the flexibility and comfort reasons rather than using menu/view. For the menu/view the user have to change modus for single image and when someone has a big collection of images, then it is not really useful to change by hand. The other argument is, Alpha channel will be rarely specific changed by the user when they view/browser images. The most of images viewer i know have either no extra option to change (the Alpha channel is hardcoded in the program by default) or they have an fixed option in the menu/option for transparancy. XnView is rather an image viewer for quick browsing in daily work than a image processing program like photoshop/Gif-animator where user need specific view modus to view thought the menu/view for the single image. And the last argument is, png/gif/ico are the most used formats, no user would need to change the view modus everyday, so if needed you can even hardcoded for the Alpha-channel without any option. Every images of such format will show "as it" (as original with transparency) like the Windows build-in Fax viewer.
Just my personal opinion :)

Have a nice day...
Post Reply