Specify bg color for image transparency...

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, helmut, xnview

TsunamiZ

Specify bg color for image transparency...

Post by TsunamiZ »

Please add option to specify background color for image transparency. Thanks.
User avatar
xnview
Author of XnView
Posts: 42531
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Specify bg color for image transparency...

Post by xnview »

TsunamiZ wrote:Please add option to specify background color for image transparency. Thanks.
But it's the view background color???
Pierre.
TsunamiZ

Post by TsunamiZ »

I mean having an option to specify a color to apply to the transparency area of all images. Useful to toggle for certain images that don't look as clear against the current view/preview/browser background color when transparency is enabled.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

TsunamiZ wrote:I mean having an option to specify a color to apply to the transparency area of all images. Useful to toggle for certain images that don't look as clear against the current view/preview/browser background color when transparency is enabled.
Why not change background color then?

X.
TsunamiZ

Post by TsunamiZ »

Xyzzy wrote:
TsunamiZ wrote:I mean having an option to specify a color to apply to the transparency area of all images. Useful to toggle for certain images that don't look as clear against the current view/preview/browser background color when transparency is enabled.
Why not change background color then?

X.
Because an image can be displayed in browser/preview/view [each mode having its background own color setting]. Having this option will universally affect all displays of the image's transparency, so users don't have to change each of the 3 modes background color.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

But you still to have to change this option for very image, because every image requires another bg colour?

X.
TsunamiZ

Post by TsunamiZ »

Xyzzy wrote:But you still to have to change this option for very image, because every image requires another bg colour?

X.
That's not necessary because, when enabled, this option will universally affect all images' transparencies when displayed. Would be nice to have a toolbar button to toggle this feature, if added.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

OK, I think I get it now.
You want to actually SEE transparency and be sure that its color contrasts with bg (because it could happen that palette color set as transparent is similar to bg color).
But, do you really need to separate setting for all 3 modes? Wouldn't one in General be enough? Something along:

Code: Select all

[ ] Show transparency as color [IIIIII]
(checkbox and color selector).

X.
TsunamiZ

Post by TsunamiZ »

But, do you really need to separate setting for all 3 modes? Wouldn't one in General be enough?
I've only suggested one setting that's universal to displaying transparency color in XnView.

The 3 modes I mentioned were to point out that each of those modes currently has a background color setting. This new feature wouldn't interfere with those 3.
Xyzzy
Posts: 652
Joined: Tue Nov 23, 2004 10:17 pm
Location: Poland

Post by Xyzzy »

OK, so we agree on that point.

BTW, I've checked and it seems XnView can display transparency only for palette images and only in windowed view? Guess it should be changed?

X.
TsunamiZ

Post by TsunamiZ »

I haven't tested it that far. But if it's a bug, it would be nice to have it fixed.