Do you have a info@2x.png?
Colors for Thumbnails, Overlay Icons size
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 45068
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- XnThusiast
- Posts: 1434
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Colors for Thumbnails, Overlay Icons [solved]
- info.png is used for Windows display at 100%.XnTriq wrote: ↑Mon Nov 22, 2021 6:30 pm What are the correct dimensions for info.png and info@2x.png?
- info.png
- (169×11) Pierre's attachment
- (165×11) from xnviewmp.exe
- info@2x.png
- (330×22) Pierre's attachment
- (316×22) from xnviewmp.exe
Related bug report: Overlay icon for sidecar files
The first one (169 x 11) was probably used for versions 0.97 and older (Pierre's attachment 2020 Nov)
The 2nd one (165 x 15 ) is OK
- info@2x.png has to be used when windows display is different from 100% (?)
The "xnviewmp" attachment for info@2x.png (316 x 22) seems OK.
-Yes now ...., I didn't find this anywhere before re-reading this post, but XnTriq did ...Xnview wrote:Do you have a info@2x.png?
I'll try it in some days, and provide a coloured version
Last edited by michel038 on Thu Dec 15, 2022 4:45 pm, edited 1 time in total.
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
-
- XnThusiast
- Posts: 1434
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Colors for Thumbnails, Overlay Icons [solved]
Windows default scale (100%)
Windows display scale at 125%
Copy info.png or info@2x.png into this folder.
Restart xnviewmp ...
When using info@2x coloured version, I can see sometimes a rounding error of 1 pixel, but this is not critical ...
( for the forum: screenshot 300% enlargement and jpg quality loss )
- Default icons info.png
(165×11) from xnviewmp.exe - Coloured icons (165x11)
Windows display scale at 125%
- Default icons info@2x.png
(316x22) from xnviewmp.exe - Coloured icons info@2x.png (316x22)
Copy info.png or info@2x.png into this folder.
Restart xnviewmp ...
When using info@2x coloured version, I can see sometimes a rounding error of 1 pixel, but this is not critical ...
( for the forum: screenshot 300% enlargement and jpg quality loss )
You do not have the required permissions to view the files attached to this post.
Last edited by michel038 on Wed Dec 14, 2022 3:12 pm, edited 2 times in total.
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Colors for Thumbnails, Overlay Icons size
Merci beaucoup, michel038 Great post!
-
- Moderator & Librarian
- Posts: 6402
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Colors for Thumbnails, Overlay Icons size
I created this SVG file a year ago as proof of concept.
To give it a try, save the following “code” as info@2x.png and copy it to the icons subdirectory of your XnView MP installation.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" width="316" height="22" viewBox="0 0 316 22" clip-rule="evenodd" fill-rule="evenodd">
<rect fill="lime" width="316" height="22" />
<g>
<path fill="red" d="m0 0l36 0 0 21 -36 0 0 -21zm1 1l34 0 0 19 -34 0 0 -19z" />
<path fill="red" d="m36 0l36 0 0 21 -36 0 0 -21zm1 1l34 0 0 19 -34 0 0 -19z" />
<path fill="red" d="m72 0l29 0 0 21 -29 0 0 -21zm1 1l27 0 0 19 -27 0 0 -19z" />
<path fill="red" d="m101 0l21 0 0 21 -21 0 0 -21zm1 1l19 0 0 19 -19 0 0 -19z" />
<path fill="red" d="m122 0l21 0 0 21 -21 0 0 -21zm1 1l19 0 0 19 -19 0 0 -19z" />
<path fill="red" d="m143 0l21 0 0 21 -21 0 0 -21zm1 1l19 0 0 19 -19 0 0 -19z" />
<path fill="red" d="m164 0l19 0 0 21 -19 0 0 -21zm1 1l17 0 0 19 -17 0 0 -19z" />
<path fill="red" d="m183 0l21 0 0 21 -21 0 0 -21zm1 1l19 0 0 19 -19 0 0 -19z" />
<path fill="red" d="m204 0l33 0 0 21 -33 0 0 -21zm1 1l31 0 0 19 -31 0 0 -19z" />
<path fill="red" d="m237 0l28 0 0 21 -28 0 0 -21zm1 1l26 0 0 19 -26 0 0 -19z" />
<path fill="red" d="m265 0l29 0 0 21 -29 0 0 -21zm1 1l27 0 0 19 -27 0 0 -19z" />
<path fill="red" d="m294 0l22 0 0 22 -22 0 0 -22zm1 1l20 0 0 20 -20 0 0 -20z" />
</g>
</svg>
You do not have the required permissions to view the files attached to this post.
-
- Posts: 17
- Joined: Fri Aug 07, 2009 12:04 am
Re: Colors for Thumbnails, Overlay Icons size
I wonder what I may have missed here (verified my Windows is at 100% zooming, create the Icons folder, etc.) but, try as I may, I couldn't get this to work.
Is anyone able to help me, please?
Is anyone able to help me, please?
-
- XnThusiast
- Posts: 1434
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Colors for Thumbnails, Overlay Icons size
Did you create 'icons folder' or 'Icons folder' ?
The right one is without capital letter,
... containing info.png or info@2x.png
The right one is without capital letter,
... containing info.png or info@2x.png
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
-
- Posts: 17
- Joined: Fri Aug 07, 2009 12:04 am
Re: Colors for Thumbnails, Overlay Icons size
The thing is it's named exactly 'icons' as it can be seen, with lower-case i, the info.png file inside it and all:michel038 wrote: ↑Sat Sep 09, 2023 5:29 pm Did you create 'icons folder' or 'Icons folder' ?
The right one is without capital letter,
... containing info.png or info@2x.png
Not having a dodo of what's quite going on yet.
-
- XnThusiast
- Posts: 1434
- Joined: Tue Sep 27, 2016 8:18 am
- Location: France
Re: Colors for Thumbnails, Overlay Icons size
Maybe XnViewMP folder or icons folder is protected by Windows (read/write rights ? or try to open xnviewmp as an admin ? )
Edit 2024/08/30
Since version 1.??, the size of overlay icons was changed...
This is a new version for the info.png file :
Edit 2024/08/30
Since version 1.??, the size of overlay icons was changed...
This is a new version for the info.png file :
You do not have the required permissions to view the files attached to this post.
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm