Icon (.ico) size interpreted different than Windows Explorer

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

Moderators: helmut, XnTriq, xnview

Post Reply
kimi
Posts: 38
Joined: Sat Apr 23, 2011 4:52 pm

Icon (.ico) size interpreted different than Windows Explorer

Post by kimi »

Hi all,
I'm using XnView for a long time and for some .ico files (icon) i get different (lower or higher) resolution when compared to Windows Explorer and Windows Photo and Fax Viewer.

An example:
For example, i have an icon (i certainyl would attach it here but there's no chance for the attachments here, and i cannot upload .ico to free image hosting websites), XnView says it's 48x48, but Windows Explorer and Windows Photo and Fax Viewer says it's 16x16.

There are much icons that are reported with different resolutions.

Why is that? Which one is true? Is this a bug?
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Icon (.ico) size interpreted different than Windows Expl

Post by XnTriq »

There are free file sharing services like Wikisend, but registered member of the forum should be able to upload any type of file as a ZIP-compressed archive (maximum attachment size: 2 MB).
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Icon (.ico) size interpreted different than Windows Expl

Post by xnview »

XnView load the highest icon
Pierre.
kimi
Posts: 38
Joined: Sat Apr 23, 2011 4:52 pm

Re: Icon (.ico) size interpreted different than Windows Expl

Post by kimi »

xnview wrote:XnView load the highest icon
I figured out this a bit late. There are approx. 6-9 frames per icon, and that's why XnView would start at 48x48.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Icon (.ico) size interpreted different than Windows Expl

Post by budz45 »

Hmm kimi,

do you think that there should exist an option to choose whether the highest or lowest icon page is first displayed? :wink:

Perhaps a setting named 'Display lowest icon page first'

Highest icon page first suits Windows .ico that contain the Vista/7 256x256 sized page and the current 'highest page first' just showcases that to the user.
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
Post Reply