How to change standard transparency background to non white?

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

Moderators: XnTriq, 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 » Tue Jan 23, 2018 8:11 am

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: 29489
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Wed Jan 24, 2018 11:21 am

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 » Thu Jan 25, 2018 2:35 pm

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: 29489
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu Jan 25, 2018 7:06 pm

sorry but it works
Pierre.

cday
XnThusiast
Posts: 1718
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 » Thu Jan 25, 2018 7:37 pm

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: 5227
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

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

Post by XnTriq » Thu Jan 25, 2018 8:45 pm

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 » Fri Jan 26, 2018 7:33 am

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: 1718
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 » Fri Jan 26, 2018 9:24 am

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: 5227
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

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

Post by XnTriq » Sat Jan 27, 2018 12:45 am

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 » Mon Jan 29, 2018 9:04 am

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