Hi,
I may be missing something, but it would be nice if I could set color for "transparent background" - now it seems to be some kind of grey (or checkerboard) hardwired?
Thanks,
Majkl
Color for "transparent background"
Moderators: helmut, XnTriq, xnview
Re: Color for "transparent background"
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=53946#p53946]checkerboard background option for transparent images[/url]) wrote:An implementation similar to the one in AlphaMix would be great. This “PNG alpha-channel viewer” allows you to specify a custom background color and/or image.
- Transparent PNG: Configurable background colour
- PNG Opacity
- Specify bg color for image transparency...
Re: Color for "transparent background"
Thanks for your interest.XnTriq wrote:XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=53946#p53946]checkerboard background option for transparent images[/url]) wrote:An implementation similar to the one in AlphaMix would be great. This “PNG alpha-channel viewer” allows you to specify a custom background color and/or image.
- Transparent PNG: Configurable background colour
- PNG Opacity
- Specify bg color for image transparency...
I'v read these now. But sorry, I still can not get it. Is there any option to change the (color of) transparent background, or not? I can not find it. And no, editing checkerboard colors in INI is not usable way for very most cases (including my one, when I have many transparent images and I need to find suitable background color for their viewing).
Thanks once more, Michal
Re: Color for "transparent background"
Hello Michal 
For changing the color and size values in XnView v1.97 you need to edit the INI file either by hand...

In XnViewMP beta 0.30 you can activate/disable and customize the checkerboard pattern via the Settings dialog.the_majkl wrote:Is there any option to change the (color of) transparent background, or not?
For changing the color and size values in XnView v1.97 you need to edit the INI file either by hand...
... or with the help of ckv's XnView Tweak UI.XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=64977#p64977]Auto filters in slideshows? White transparency?[/url]) wrote:Method A:Rutabaga wrote:So is there any way to just get white layer as background for all viewed files?Method B:
- Go to Tools » Options... » View » View.
- Deactivate Use checkerboard pattern as background.
- Set Background colour to white.
- Go to Tools » Options... » View » View.
- Activate Use checkerboard pattern as background.
- Quit XnView.
- Open the file xnview.ini in Notepad and look for the [View] section.
- Add the following lines to the [View] section:
Code: Select all
CheckerColor1=16777215 CheckerColor2=16777215
- Save xnview.ini and restart XnView.
Are you looking for something like a dominant/average color?the_majkl wrote:And no, editing checkerboard colors in INI is not usable way for very most cases (including my one, when I have many transparent images and I need to find suitable background color for their viewing).