Page 1 of 1

Compress webp

Posted: Mon Jan 16, 2023 6:23 pm
by standus
I have this command:
nconvert.exe -overwrite -no_auto_ext -resize 100% 100% myimage.webp
for compress image, but I got alway s error:
Error: Don't know how to read this picture (myimage.webp)","","** NCONVERT v7.121 (c) 1991-2022 Pierre-E Gougelet (Sep 6 2022\/10:41:00) **"," Version for Windows Xp\/Vista\/7 x64 (All rights reserved)","** This is freeware software (for non-commercial use)","","my_error_exit...<Not a JPEG file: starts with 0x52 0x49>

JPG and PNG files work perfect. What is wrong that webp file not work?

Re: Compress webp

Posted: Mon Jan 16, 2023 8:14 pm
by cday
standus wrote: Mon Jan 16, 2023 6:23 pm I have this command:

Code: Select all

nconvert.exe -overwrite -no_auto_ext -resize 100% 100% myimage.webp
to compress image...
You seem to be missing this compression term:

Code: Select all

-q value          : JPEG/FPX/WIC/PDF/JPEG2K/WebP quality (default : 85)
...but I get this error:

Code: Select all

Error: Don't know how to read this picture (myimage.webp)","","** NCONVERT v7.121 (c) 1991-2022 Pierre-E Gougelet (Sep  6 2022\/10:41:00) **","        Version for Windows Xp\/Vista\/7 x64  (All rights reserved)","** This is freeware software (for non-commercial use)","","my_error_exit...<Not a JPEG file: starts with 0x52 0x49>
JPG and PNG files work perfect. What is wrong that webp file not work?
Could you upload an example webp file that can't be opened for Pierre to test?

Re: Compress webp

Posted: Mon Jan 16, 2023 9:23 pm
by standus
Here is.

Re: Compress webp

Posted: Mon Jan 16, 2023 10:00 pm
by XnTriq
You have to copy libwebp.dll into the Plugins subdirectory of your NConvert installation.

Re: Compress webp

Posted: Tue Jan 17, 2023 6:35 am
by standus
XnTriq wrote: Mon Jan 16, 2023 10:00 pm You have to copy libwebp.dll into the Plugins subdirectory of your NConvert installation.
Not solved.

Re: Compress webp

Posted: Tue Jan 17, 2023 11:14 am
by xnview
which libwebp do you have copied?

Re: Compress webp

Posted: Tue Jan 17, 2023 3:41 pm
by standus
from Xnview Zip file and his Plugins folder.

Re: Compress webp

Posted: Wed Jan 18, 2023 4:00 pm
by xnview
standus wrote: Tue Jan 17, 2023 3:41 pm from Xnview Zip file and his Plugins folder.
XnView MP 64bits?

Re: Compress webp

Posted: Fri Jan 20, 2023 7:45 am
by standus
No.
XnView-win-full.zip

Re: Compress webp

Posted: Fri Jan 20, 2023 12:11 pm
by xnview
standus wrote: Fri Jan 20, 2023 7:45 am No.
XnView-win-full.zip
if you have NConvert x64, you need x64 plugins so from XnView MP x64

Re: Compress webp

Posted: Mon Jan 23, 2023 9:05 am
by standus
OK, thank you. I see that its OK now.