0.61: How do I prevent Header Scanning?

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
viking
Posts: 85
Joined: Wed Feb 18, 2009 3:44 am

0.61: How do I prevent Header Scanning?

Post by viking »

Every time I navigate to a new folder, viewing images is very slow because the CPU is busy scanning the headers. I would like to turn off the scanning.
In classic xnview, I can disable header scanning in folders (Options|Browser|File List|Misc). How do I turn it off in xnview MP?
User avatar
xnview
Author of XnView
Posts: 45495
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How do I prevent Header Scanning?

Post by xnview »

currently not possible
Pierre.
User avatar
viking
Posts: 85
Joined: Wed Feb 18, 2009 3:44 am

Re: How do I prevent Header Scanning?

Post by viking »

xnview wrote:currently not possible
OK. Maybe add that as a feature?
User avatar
xnview
Author of XnView
Posts: 45495
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How do I prevent Header Scanning?

Post by xnview »

I need to scan files to know file type...
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: How do I prevent Header Scanning?

Post by m.Th. »

Every time I navigate to a new folder, viewing images is very slow because the CPU is busy scanning the headers.
Viewing images is very slow because the program needs to build the thumbnails (which implies an entire file "scan", processing, and saving the thumb) not because it needs to scan the headers.

With this process the file format is saved in the database (for reference, ImagesInfo.Format field).

Hence there is no slowdown due of "scanning headers".

OTOH, if Pierre always scans the headers for the files already in DB then this is indeed an unneeded slowdown, albeit a small one.

Also, you mention every time. This is a problem. Do you have the DB enabled?
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 45495
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How do I prevent Header Scanning?

Post by xnview »

m.Th. wrote: OTOH, if Pierre always scans the headers for the files already in DB then this is indeed an unneeded slowdown, albeit a small one.
No, if files are already in DB, no file loaded
Pierre.
User avatar
viking
Posts: 85
Joined: Wed Feb 18, 2009 3:44 am

Re: How do I prevent Header Scanning?

Post by viking »

xnview wrote:I need to scan files to know file type...
Why is it only possible to turn it off in classic Xnview?
User avatar
xnview
Author of XnView
Posts: 45495
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: How do I prevent Header Scanning?

Post by xnview »

It's to know the file type, i'll check if i can disable it
Pierre.