My application tries to convert *.heic or *.avif images to *.jpg images.
Because my application has also to work for names that contain Unicode-characters, it always uses the windows short-filenames.
The response from NConvert is always: Error: Don't know how to read this picture
So I tried to reproduce this behaviour in DOS-box (== cmd.exe)
In the following you will see the results for a *.heic file:
(The used short windows-filename is the proper one)
- using the windows standard-filename
Code: Select all
C:\Fototools\NConvert>C:\FOTOTOOLS\NConvert\nconvert.exe -half_res -ignore_errors -thumb 1920 1920 -overwrite -out jpeg -o C:\Users\\herb\AppData\Local\Temp\AUTUMN_2900_1_prvws.jpg F:\WORK_EIXM\BILDFORMATE\Heic\autumn_1440x960.HEIC
** NCONVERT v7.172 (c) 1991-2024 Pierre-E Gougelet (Feb 19 2024/14:50:40) **
Version for Windows 7/8/10/11 x64 (All rights reserved)
** This is freeware software (for non-commercial use)
Conversion of F:\WORK_EIXM\BILDFORMATE\Heic\autumn_1440x960.HEIC into C:\Users\\herb\AppData\Local\Temp\AUTUMN_2900_1_prvws.jpg OK
Code: Select all
C:\FOTOTO~1\NConvert\nconvert.exe -half_res -ignore_errors -thumb 1920 1920 -overwrite -out jpeg -o C:\Users\herb\AppData\Local\Temp\AUTUMN~1_2900_1_prvws.jpg F:\WORK_E~1\BILDFO~1\Heic\AUTUMN~1.HEI
** NCONVERT v7.172 (c) 1991-2024 Pierre-E Gougelet (Feb 19 2024/14:50:40) **
Version for Windows 7/8/10/11 x64 (All rights reserved)
** This is freeware software (for non-commercial use)
Error: Don't know how to read this picture (F:\\WORK_E~1\\BILDFO~1\\Heic\\AUTUMN~1.HEI)
Thanks in advance
Best regards
herb