XnConvert 1.78 (64bit) - problem with *.psd with multi-layer and Multi-CPU core conversion!

XnConvert Multi Platform - Windows, MacOSX, Linux
Post Reply
User avatar
masterjp
Posts: 155
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

XnConvert 1.78 (64bit) - problem with *.psd with multi-layer and Multi-CPU core conversion!

Post by masterjp » Thu Jan 24, 2019 7:14 pm

The new update of XnConvert is great, especially the latest webp format and the fast Multi-core mode! Thank you!

Windows 10 (64bit - all updates)
XnConvert 1.78 (64 bit)

The Multi-CPU Core conversion mode has a problem with *.psd (Photoshop) files with multi-layer (!).
It converts every .psd file many times! I converted 5 Photoshop files, which have 3 layers.

I used the following steps:

1. Start XnConvert
2. Activate "Input file(s)" tab
3. add files
4. select 5 .psd files with multi-layer within a directory
5. Activate "Action" tab
6. Add action
Resize => Mode => longest side
Size => Pixel => 2048 pixels
Enlarge/Reduce => reduce only
Resample => lanczos
7. Activate "Output" tab
Replace file, if already exists
Use CPU's Core = 2
8. File format for output = .webp

I started the conversion.

Here is the log screen window of the program. Every file is converted 4 times.
The file counter did a countdown from 5 to 1. After that, it counts the file number to negative values.
The converted picture files are correct.

D:\XnView_Test\05.psd : loading
D:\XnView_Test\05.psd : loading
D:\XnView_Test\05.psd (1) 1496x630x32 : loaded
D:\XnView_Test\05.psd (2) 1496x630x32 : loaded
D:\XnView_Test\05.webp : saved
D:\XnView_Test\05.psd : loading
D:\XnView_Test\05.webp : saved
D:\XnView_Test\05.psd : loading
D:\XnView_Test\05.psd (3) 1496x630x32 : loaded
D:\XnView_Test\05.psd (4) 1496x630x32 : loaded
D:\XnView_Test\05.webp : saved
D:\XnView_Test\04.psd : loading
D:\XnView_Test\05.webp : saved
D:\XnView_Test\04.psd : loading
D:\XnView_Test\04.psd (1) 1496x630x32 : loaded
D:\XnView_Test\04.psd (2) 1496x630x32 : loaded
D:\XnView_Test\04.webp : saved
D:\XnView_Test\04.webp : saved
D:\XnView_Test\04.psd : loading
D:\XnView_Test\04.psd : loading
D:\XnView_Test\04.psd (3) 1496x630x32 : loaded
D:\XnView_Test\04.psd (4) 1496x630x32 : loaded
D:\XnView_Test\04.webp : saved
D:\XnView_Test\03.psd : loading
D:\XnView_Test\04.webp : saved
D:\XnView_Test\03.psd : loading
D:\XnView_Test\03.psd (1) 1496x630x32 : loaded
D:\XnView_Test\03.psd (2) 1496x630x32 : loaded
D:\XnView_Test\03.webp : saved
D:\XnView_Test\03.psd : loading
D:\XnView_Test\03.webp : saved
D:\XnView_Test\03.psd : loading
D:\XnView_Test\03.psd (3) 1496x630x32 : loaded
D:\XnView_Test\03.psd (4) 1496x630x32 : loaded
D:\XnView_Test\03.webp : saved
D:\XnView_Test\02.psd : loading
D:\XnView_Test\02.psd (1) 1496x630x32 : loaded
D:\XnView_Test\03.webp : saved
D:\XnView_Test\02.psd : loading
D:\XnView_Test\02.psd (2) 1496x630x32 : loaded
D:\XnView_Test\02.webp : saved
D:\XnView_Test\02.psd : loading
D:\XnView_Test\02.psd (3) 1496x630x32 : loaded
D:\XnView_Test\02.webp : saved
D:\XnView_Test\02.psd : loading
D:\XnView_Test\02.psd (4) 1496x630x32 : loaded
D:\XnView_Test\02.webp : saved
D:\XnView_Test\01.psd : loading
D:\XnView_Test\02.webp : saved
D:\XnView_Test\01.psd : loading
D:\XnView_Test\01.psd (1) 1496x630x32 : loaded
D:\XnView_Test\01.psd (2) 1496x630x32 : loaded
D:\XnView_Test\01.webp : saved
D:\XnView_Test\01.webp : saved
D:\XnView_Test\01.psd : loading
D:\XnView_Test\01.psd : loading
D:\XnView_Test\01.psd (3) 1496x630x32 : loaded
D:\XnView_Test\01.psd (4) 1496x630x32 : loaded
D:\XnView_Test\01.webp : saved
D:\XnView_Test\01.webp : saved

Input files: 5
Extracted pages: 20
Overwritten: 20

Total Duration: 21 second(s)

I tested the same files in single CPU core mode and everything is fine!
Although I used .jpg format files in Multi-CPU core mode and all works correct.
I tested it with 2, 4, 6 and 12 cpu cores.

So I think the problem are Photoshop .psd files and the Multi-CPU core settings which made problems.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable and beta version) | XnConvert (latest) | Adobe Photoshop Elements 2019 & Elements XXL 6

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnConvert 1.78 (64bit) - problem with *.psd with multi-layer and Multi-CPU core conversion!

Post by xnview » Fri Jan 25, 2019 8:19 am

please send me a .psd to test?
Pierre.

User avatar
masterjp
Posts: 155
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: XnConvert 1.78 (64bit) - problem with *.psd with multi-layer and Multi-CPU core conversion!

Post by masterjp » Fri Jan 25, 2019 3:51 pm

Here is a photoshop file with 2 text layers which produce the error.
I copied this file 5 times and renamed it to 01.psd, 02.psd, ... and 05.psd.
Then I tested the Multi-CPU core mode with setting 2.
01.7z
(982.83 KiB) Downloaded 22 times
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable and beta version) | XnConvert (latest) | Adobe Photoshop Elements 2019 & Elements XXL 6

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnConvert 1.78 (64bit) - problem with *.psd with multi-layer and Multi-CPU core conversion!

Post by xnview » Mon Jan 28, 2019 10:24 am

do you have checked 'convert all pages' setting?
Pierre.

User avatar
masterjp
Posts: 155
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: XnConvert 1.78 (64bit) - problem with *.psd with multi-layer and Multi-CPU core conversion!

Post by masterjp » Mon Jan 28, 2019 6:20 pm

I am sorry and forgot to set the switch for "convert multi layer".
But it did not help or the status information in the conversion window are wrong.

I tried my test with another directory ( 1.385 psd files - with smartobjects).

XnConvert said:

Input files: 1385
Extracted pages: 4676
Overwritten: 4675

Why will XnConvert extract all pages of the psd files, if it should make one .webp file?
Is it a part of the conversion?
Futhermore XnConvert wrote every processed file more than one time. It costs useless time.

The screenshot shows, that XnConvert does not make a correct countdown.
It only counts the input files, but does not know how much layers a picture file have!
So it counts down to negative values of the processed files and percentage.
Zwischenablage-1.png
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable and beta version) | XnConvert (latest) | Adobe Photoshop Elements 2019 & Elements XXL 6

User avatar
xnview
Author of XnView
Posts: 31891
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XnConvert 1.78 (64bit) - problem with *.psd with multi-layer and Multi-CPU core conversion!

Post by xnview » Wed Jan 30, 2019 9:38 am

ok, i can reproduce, will be fixed
Pierre.

User avatar
masterjp
Posts: 155
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: XnConvert 1.79 (64bit)

Post by masterjp » Thu Jan 31, 2019 5:21 pm

The new release 0.79 is great!

The percentage value does not match with the green progress bar.
If you are over 60% the progress bar will be at 100%.

I think the progress bar use a wrong maximum value to show 100%.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable and beta version) | XnConvert (latest) | Adobe Photoshop Elements 2019 & Elements XXL 6

Post Reply