Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ranshaa05 opened this issue Oct 22, 2021 · 2 comments
Open

Comments

@ranshaa05
Copy link

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 ranshaa05 changed the title cwebp: input_image or output_image can not have any spaces in them. cwebp: input_image and output_image can not have any spaces in them. Oct 22, 2021
@paketep
Copy link

paketep commented Nov 25, 2021

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

@ranshaa05
Copy link
Author

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="".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants