Page 2 of 2
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Mon Oct 19, 2009 4:21 am
by MaxSt
XnTriq wrote:Isn't it interesting that XnView v1.96.5 does a better job creating the thumbnail than with the preview:
How come?
Probably using libpng for conversion stuff, but XnView own core library for viewing?
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Wed Nov 04, 2009 12:30 am
by XnTriq
xnview wrote:Yes, my internal library doesn't support 8bits+alpha picture, so it's not very easy to change it.
But i'll try
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Sat Nov 21, 2009 7:15 pm
by MaxSt
Doesn't work for APNG

Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Sun Nov 22, 2009 3:14 pm
by budz45
Ironically Windows XP default viewer seems to support this format too:

Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Sun Nov 22, 2009 4:20 pm
by MaxSt
What makes it ironic? I don't get it.
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Sat Mar 27, 2010 8:10 am
by lazyeugene
Xnview displays it correctly now. Is there a chance to get updated gfl library too?
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Sat Mar 27, 2010 8:54 am
by budz45
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Tue Mar 30, 2010 8:29 pm
by xnview
Could you try XnViewMP 0.26
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Wed Mar 31, 2010 7:38 am
by budz45
xnview wrote:Could you try XnViewMP 0.26
Thank you. The transparency issue you fixed in 0.261

:

--------------------------------------------------------
Ok, there are 2 last things:
1. It would be nice if in a future version you supported it's transparency on the tab preview;
http://i39.tinypic.com/x3rxi.png
2. BUG: There is a visual artefact (faint grid lines) which needs resolving when zooming in/out of this picture;
http://i42.tinypic.com/sfdw1d.png To reproduce, all you need to do is zoom in and out of the picture to see the artefact. I will make a new topic about this in 'MP Bug reports' forum
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Fri Nov 04, 2011 10:02 am
by lazyeugene
We have version 3.40 now, and i dscovered that GFL_COLORMAP structure has an Alpha field now (in help it does not, but it is). And this "Alpha" really contains alpha channel for 8-bit png. But if the pucture does not contain alpha channel, it all filled by zeroes and picture gets 100% transparency. But how I can determine if a picture have an alpha channel? For now I made such a thing: I go through all of colors once, and if I got at least one nonzero value in Alpha - it signals me that alpha channel exists. It's not quite good, I think. Is there another method?
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Posted: Mon Nov 07, 2011 8:59 am
by xnview
Ok, i need to add a flag in GFL_COLORMAP...