Anyway of speeding up ICNS/RSRC icon decoding in Win?

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Anyway of speeding up ICNS/RSRC icon decoding in Win?

Post by budz45 »

Hi,

I notice that viewing/decoding of .icns and .rsrc icon files (especially the ones with 512x512 pages) can be a little slow and laggy at times even on my dual-core Windows 7 notebook. Maybe it is my weaker processor cores, maybe it is that ICNS/RSRC are not properly optimized for the Windows system as they are natively for Mac's or maybe XnView MP needs to re-acess how it decodes these files to make it faster such as:

=perhaps a knewer thread-drawing method (in the code)

=perhaps increased multi-core support specially for whenever .icns or .rsrc get viewed

=perhaps the use of a single (only 1) temporry file -although I don't like this and prefer current RAM/memory method

these are just my observation
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
xnview
Author of XnView
Posts: 45274
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Anyway of speeding up ICNS/RSRC icon decoding in Win?

Post by xnview »

512x512 are JPEG2000 encoded, so can be slow
Pierre.
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Anyway of speeding up ICNS/RSRC icon decoding in Win?

Post by budz45 »

Oh ok now I know 8)
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only
User avatar
budz45
XnThusiast
Posts: 1621
Joined: Sun Jun 03, 2007 6:05 pm
Location: UK

Re: Anyway of speeding up ICNS/RSRC icon decoding in Win?

Post by budz45 »

In relation to this topic,
way
apparently Mac OS X 10.7 Lion added support for a 1024×1024 png icon page inside ICNS, probably worth considering for future
http://en.wikipedia.org/wiki/Apple_Icon_Image_format
http://macmagazine.com.br/2011/04/23/ma ... incognita/
All My Topics || my 'MP' Topics
My own Bookmarked topics--->for me only