Show transparency backgroud (gray square)

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

Moderators: helmut, XnTriq, xnview

Post Reply
duke
Posts: 1
Joined: Fri Jul 15, 2011 4:03 am

Show transparency backgroud (gray square)

Post by duke »

Hello! How to show image with trans bg?
Like this:
Image

xnview show only solid color on the background.

thank you)
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Re: Show transparency backgroud (gray square)

Post by Clo »

:arrow: duke

:) Hello ! Welcome aboard !
• The chequered pattern as the transparency is supported for 8… 32 BPP images.
- To set it, go to Options (F12) >> View >> Tick the appropriate box… :wink:

- Further, you can choose the colours for that feature by adding in your <xnview.ini> file :
[View]
CheckerColor1=Colour code
CheckerColor2=Colour code
These two entries allow to change the colours of the chequered pattern items when it's set to represent the transparency.
One can indeed set the two entries as the same value to get a plain background, it's useful sometimes…
:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply