Partial Transparence in GFL_COLORS and GFL_GREY

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

lazyeugene
Posts: 16
Joined: Sat Oct 03, 2009 10:17 am
Location: Ukraine

Partial Transparence in GFL_COLORS and GFL_GREY

Postby lazyeugene » Sat Oct 03, 2009 11:01 am

Do you plan to support alpha transparency for GFL_COLORS and GFL_GREY modes in gfl library (And XnView as well)?

For Example look at this attached file (save and use xnview or gfl-based app to view it):

RedbrushAlpha-0.5.png
RedbrushAlpha-0.5.png (113.15 KiB) Viewed 4200 times


Some examples may be found here:
http://entropymine.com/jason/testbed/pngtrans/

All RBGA pictures displays perfectly, but images with palette or grayscale images are viewed poorly :(

Thanking for your work, waiting for the answer.

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby XnTriq » Sun Oct 04, 2009 7:00 am


lazyeugene
Posts: 16
Joined: Sat Oct 03, 2009 10:17 am
Location: Ukraine

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby lazyeugene » Sun Oct 04, 2009 7:10 am

Yes. I know. But my question is "Do you plan to support alpha transparency for GFL_COLORS and GFL_GREY modes in gfl library"?

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

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby xnview » Mon Oct 05, 2009 7:13 am

lazyeugene wrote:Yes. I know. But my question is "Do you plan to support alpha transparency for GFL_COLORS and GFL_GREY modes in gfl library"?

I don't know, this feature has not a high priority
Pierre.

lazyeugene
Posts: 16
Joined: Sat Oct 03, 2009 10:17 am
Location: Ukraine

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby lazyeugene » Wed Oct 07, 2009 5:31 pm

Image viewer not showing images correctly, and showing them correctly is not a high priority. It's pretty sad.
Last edited by lazyeugene on Thu Oct 08, 2009 5:13 am, edited 1 time in total.

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby XnTriq » Thu Oct 08, 2009 2:45 am

xnview wrote:I don't know, this feature has not a high priority

:-( Ouch!

I certainly don't want to put you under pressure or get on your nerves, Pierre. We all know very well that you've got your hands full with GFL/GFLAx, (X)nConvert, XnView v1.96 incl. Shell Extension & Media Detector, versions for PocketPC + Smartphone, and — last but not least — the new MP project.

Of course, most people use XnView for working with photos. Although I do not have the numbers to prove my point, it's my firm belief that a significant portion of the user base sees it as imaging central (or a Rosetta Stone for file formats, if you will).

Full support for all flavors of the most common image formats (BMP, GIF, JPEG, and PNG) should not be relegated to a low-level priority. It sucks that I have to rely on the competition when I'm dealing with greyscale or palette-based/indexed PNGs plus alpha channel, which are no longer a rare occurrence “in the wild”.


MaxSt
Posts: 133
Joined: Fri Apr 10, 2009 9:55 pm

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby MaxSt » Thu Oct 08, 2009 4:27 am

Fully agree with above posters. Core functionality should not be a low priority.

We all read stories how in the past Internet Explorer couldn't handle PNG files correctly.

Well, now we have IE8 that handles PNG better than XnView.

Isn't it sad?

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

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby xnview » Thu Oct 08, 2009 11:22 am

Yes, my internal library doesn't support 8bits+alpha picture, so it's not very easy to change it.
But i'll try
Pierre.

MaxSt
Posts: 133
Joined: Fri Apr 10, 2009 9:55 pm

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby MaxSt » Thu Oct 08, 2009 12:15 pm

I thought you use libpng...

It's very simple to use [256][4] array for palette.

a) save PLTE into [col][0] and [col][1] and [col][2]
b) save tRNS into [col][3].

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

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby xnview » Thu Oct 08, 2009 12:16 pm

MaxSt wrote:I thought you use libpng...

The problem is not libpng, but my core library
Pierre.

lazyeugene
Posts: 16
Joined: Sat Oct 03, 2009 10:17 am
Location: Ukraine

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby lazyeugene » Thu Oct 08, 2009 1:20 pm

I want to say: Thank you, Pierre! Thank you not for doing this, but for saying "i'll try" and for your work.

lazyeugene
Posts: 16
Joined: Sat Oct 03, 2009 10:17 am
Location: Ukraine

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby lazyeugene » Fri Oct 09, 2009 4:31 am

Today i received one psd file. There is a problem: if alpha channel is disabled, gfl (and xnview as well) still reads it. Could you fix gfl (and xnview) to not read disable channels? Thanks a lot!

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

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby xnview » Fri Oct 09, 2009 5:41 am

lazyeugene wrote:Today i received one psd file. There is a problem: if alpha channel is disabled, gfl (and xnview as well) still reads it. Could you fix gfl (and xnview) to not read disable channels? Thanks a lot!

Could you send me a sample
Pierre.

lazyeugene
Posts: 16
Joined: Sat Oct 03, 2009 10:17 am
Location: Ukraine

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby lazyeugene » Fri Oct 09, 2009 8:07 am

Here is the one: http://x.uch.net/dl.php?dl_id=35499&dl_ ... 3201912b9a

It's too big to attach here (approx 1.4M), so I put it on file exchange hosting. It will keep the file for three days. Please, tell me if you can't download it, so I'll try another service to keep this file for you.

User avatar
XnTriq
Moderator & Librarian
Posts: 5104
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Partial Transparence in GFL_COLORS and GFL_GREY

Postby XnTriq » Sun Oct 18, 2009 9:15 pm

How come that XnView v1.96.5 does a better job creating the thumbnail than with the preview?



Return to “Classic - Suggestions”

Who is online

Users browsing this forum: No registered users and 0 guests