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?
Compress webp
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 4130
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Compress webp
You seem to be missing this compression term:standus wrote: ↑Mon Jan 16, 2023 6:23 pm I have this command:to compress image...Code: Select all
nconvert.exe -overwrite -no_auto_ext -resize 100% 100% myimage.webp
Code: Select all
-q value : JPEG/FPX/WIC/PDF/JPEG2K/WebP quality (default : 85)
Could you upload an example webp file that can't be opened for Pierre to test?...but I get this error:
JPG and PNG files work perfect. What is wrong that webp file not work?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>
-
- Posts: 8
- Joined: Tue Nov 09, 2021 6:13 pm
Re: Compress webp
Here is.
You do not have the required permissions to view the files attached to this post.
-
- Moderator & Librarian
- Posts: 6366
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: Compress webp
You have to copy libwebp.dll into the Plugins subdirectory of your NConvert installation.
-
- Posts: 8
- Joined: Tue Nov 09, 2021 6:13 pm
-
- Author of XnView
- Posts: 44448
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 8
- Joined: Tue Nov 09, 2021 6:13 pm
Re: Compress webp
from Xnview Zip file and his Plugins folder.
-
- Author of XnView
- Posts: 44448
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Author of XnView
- Posts: 44448
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 8
- Joined: Tue Nov 09, 2021 6:13 pm
Re: Compress webp
OK, thank you. I see that its OK now.