webptools icon indicating copy to clipboard operation
webptools copied to clipboard

cwebp: input_image and output_image can not have any spaces in them.

Open ranshaa05 opened this issue 4 years ago • 2 comments

I'm trying to use cwebp to convert some files into webp. when trying to convert files from a directory that has spaces in its name or to a destination directory that has spaces in its name, cwebp does not convert the files, for some reason. furthermore, when trying to convert a file that has a space in its name and is inside a folder that also has a space in its name, a file is created next to the destination folder, which takes the first word in that folder's name as its name. the file does not have an extension but seems to be webp, as it can be opened in a photo viewer.

am I the only one who's having this problem?

ranshaa05 avatar Oct 22 '21 15:10 ranshaa05

Same issue here.

Since below what this is doing is passing the params to dwebp.exe (in my case, in windows), then input and output params need to be quoted

paketep avatar Nov 25 '21 16:11 paketep

Same issue here.

Since below what this is doing is passing the params to dwebp.exe (in my case, in windows), then input and output params need to be quoted

I just added quotes to my source and destination, and it's working fine, but it seems to also write whatever is inside the "logging" parameter to the end of the final filename, so I just wrote logging="".

ranshaa05 avatar Nov 25 '21 16:11 ranshaa05