Different percent-progress

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

User avatar
Peter2
XnThusiast
Posts: 1338
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Different percent-progress

Post by Peter2 »

Converting huge files (example TIF to PDF/JPG) displays different progress information:

The progress-bar (bottom of dialogue) displays approx. 10-20% "more percent" then the information in title-bar of the window. (Example: 80% down, 60% in title)

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
Peter2
XnThusiast
Posts: 1338
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Different percent-progress

Post by Peter2 »

"Pump up" with 2 screenshots:

Image

Image

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
Peter2
XnThusiast
Posts: 1338
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Different percent-progress

Post by Peter2 »

IMHO the difference comes from wrong refreshing commands. After an input-file is converted the progress on the bottom is refreshed; the progress on the top is refreshed after the conversion of the second file.

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
xnview
Author of XnView
Posts: 43833
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Different percent-progress

Post by xnview »

Do you have tried the batch convert in XnView 0.48?
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1338
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Different percent-progress

Post by Peter2 »

xnview wrote:Do you have tried the batch convert in XnView 0.48?
Yes. There it is different. The posting above concerns XnConvert 1.10.

But I see that the calculation of remaining time is based on number of input files. That's a problem with multi-page files where one file has 3 pages and the next files has 120 pages. A perfect solution would be:
- Count the number of all existing pages
- Calculate the progress based on the number of existing and exported pages.

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
xnview
Author of XnView
Posts: 43833
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Different percent-progress

Post by xnview »

Peter2 wrote: But I see that the calculation of remaining time is based on number of input files. That's a problem with multi-page files where one file has 3 pages and the next files has 120 pages. A perfect solution would be:
- Count the number of all existing pages
- Calculate the progress based on the number of existing and exported pages.
This can be very slow to count the total number of pages...
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1338
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Different percent-progress

Post by Peter2 »

xnview wrote:This can be very slow to count the total number of pages...
If I use TotalCommander in a directory with total 18 PDF and 33 MB and enable the user-defined columns (using plugin xpdfsearch), then I have in 3 sec infos in each file about width, height, page count, file version, author.

But maybe a calculation is a kind of "fake-feature". Exact or not - the duration stays the same ....

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10
User avatar
Peter2
XnThusiast
Posts: 1338
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Different percent-progress

Post by Peter2 »

XnConvert 1.20:

Seems that the progress-info has refresh-problems (Input: 2 PDF with total 27pages)
The display at top and at bottom is displayed once, the progress-bar jumps from 0 to 100 in one step.

Image

But more files show that there is a description "done" is missing in the caption:
Image

Peter
XnViewMP 1.6.5 German, XnConvert 1.99, Win 10