Probably using libpng for conversion stuff, but XnView own core library for viewing?XnTriq wrote:Isn't it interesting that XnView v1.96.5 does a better job creating the thumbnail than with the preview:
How come?
Partial Transparence in GFL_COLORS and GFL_GREY
Moderators: XnTriq, helmut, xnview
-
- Posts: 133
- Joined: Fri Apr 10, 2009 9:55 pm
Re: Partial Transparence in GFL_COLORS and GFL_GREY
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Partial Transparence in GFL_COLORS and GFL_GREY
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
-
- Posts: 133
- Joined: Fri Apr 10, 2009 9:55 pm
-
- XnThusiast
- Posts: 1621
- Joined: Sun Jun 03, 2007 6:05 pm
- Location: UK
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Ironically Windows XP default viewer seems to support this format too:


-
- Posts: 133
- Joined: Fri Apr 10, 2009 9:55 pm
Re: Partial Transparence in GFL_COLORS and GFL_GREY
What makes it ironic? I don't get it.
-
- Posts: 16
- Joined: Sat Oct 03, 2009 10:17 am
- Location: Ukraine
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Xnview displays it correctly now. Is there a chance to get updated gfl library too?
-
- XnThusiast
- Posts: 1621
- Joined: Sun Jun 03, 2007 6:05 pm
- Location: UK
Re: Partial Transparence in GFL_COLORS and GFL_GREY
By the looks of it, this might need a little more work completing in future XnView MP. In XnMP, I view the image and it displays fine at 70% but at full zoom (100%) there's a nitceable issue. Just look at these images I snapped for viewing comparisons:lazyeugene wrote:Xnview displays it correctly now. Is there a chance to get updated gfl library too?







...Vista's viewer & explorer have no problem with displaying it
-
- Author of XnView
- Posts: 45193
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 1621
- Joined: Sun Jun 03, 2007 6:05 pm
- Location: UK
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Thank you. The transparency issue you fixed in 0.261xnview wrote:Could you try XnViewMP 0.26


--------------------------------------------------------
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
-
- Posts: 16
- Joined: Sat Oct 03, 2009 10:17 am
- Location: Ukraine
Re: Partial Transparence in GFL_COLORS and GFL_GREY
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?
-
- Author of XnView
- Posts: 45193
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Partial Transparence in GFL_COLORS and GFL_GREY
Ok, i need to add a flag in GFL_COLORMAP...
Pierre.