How to change standard transparency background to non white?

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

Post Reply
PetCh01
Posts: 4
Joined: Tue Jan 23, 2018 8:04 am

How to change standard transparency background to non white?

Post by PetCh01 »

hi there,

how do i change the transparency background of the viewer (standard) to a color of my choice?
I do not want to change any graphic file, i just want to have the transparency showed in another color.

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

Re: How to change standard transparency background to non white?

Post by xnview »

options>View>background color
Pierre.
PetCh01
Posts: 4
Joined: Tue Jan 23, 2018 8:04 am

Re: How to change standard transparency background to non white?

Post by PetCh01 »

no that does not affect to the picture itself.
that does make the blank screen around the picture in that particular color
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How to change standard transparency background to non white?

Post by xnview »

sorry but it works
Pierre.
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to change standard transparency background to non white?

Post by cday »

xnview wrote:options>View>background color
PetCh01 wrote:no that does not affect to the picture itself.
that does make the blank screen around the picture in that particular color
xnview wrote:sorry but it works
I think you may be considering different parameters... :wink:

There is another parameter you could try: Tools > Options > Browser > Preview tab -- Background colour

Otherwise, could you try to explain what you are requesting in other words?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: How to change standard transparency background to non white?

Post by XnTriq »

XnTriq ([url=https://newsgroup.xnview.com/viewtopic.php?p=64977#p64977]Auto filters in slideshows? White transparency?[/url]) wrote:
Rutabaga wrote:So is there any way to just get white layer as background for all viewed files?
Method A:
  1. Go to Tools » Options... » View » View.
  2. Deactivate Use checkerboard pattern as background.
  3. Set Background colour to white.
Method B:
  1. Go to Tools » Options... » View » View.
  2. Activate Use checkerboard pattern as background.
  3. Quit XnView.
  4. Open the file xnview.ini in Notepad and look for the [View] section.
  5. Add the following lines to the [View] section:

    Code: Select all

    CheckerColor1=16777215
    CheckerColor2=16777215
    
  6. Save xnview.ini and restart XnView.
Related requests/suggestions:
PetCh01
Posts: 4
Joined: Tue Jan 23, 2018 8:04 am

Re: How to change standard transparency background to non white?

Post by PetCh01 »

thank you guys trying to help me ;-)

i tried method A and Method B. and bot are not working for this.
just to make clear i am not talking about any .PNG files i am talking about .wmf (Windows Meta File).


Image

just set it to green for test. as you can see its for the background but not "inside" the picture.
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to change standard transparency background to non white?

Post by cday »

Are you able to upload an example .wmf file, so as to be clearer about what you wish to do?

You will probably need to put the file in a ZIP or similar archive, current forum attachment limit is 2MiB.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: How to change standard transparency background to non white?

Post by XnTriq »

PetCh01 wrote:just to make clear i am not talking about any .PNG files i am talking about .wmf (Windows Meta File).
As it turns out, XnView doesn't support transparency in WMF: samples
PetCh01
Posts: 4
Joined: Tue Jan 23, 2018 8:04 am

Re: How to change standard transparency background to non white?

Post by PetCh01 »

ok. thank you for approving this, i thought about that because i tried everything i could find about background.
cant use xnview then, because in whitescreen the green and yellow lighted lines in my drawings are almost not noticable.
sad :bugconfirmed:
Post Reply