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

How to specify the extension of images. #10

Open
UtkarshBhardwaj007 opened this issue Nov 11, 2020 · 2 comments
Open

How to specify the extension of images. #10

UtkarshBhardwaj007 opened this issue Nov 11, 2020 · 2 comments

Comments

@UtkarshBhardwaj007
Copy link

Is there some way that I can set the format of images to be one of the items in a list? For example I want the images to be of jpeg extension.

@Askejm
Copy link

Askejm commented Jul 7, 2022

use this argument: [-f {jpg,gif,png,bmp,svg,webp,ico}]

@glenn-jocher
Copy link
Member

You can specify the desired image format using the -f argument followed by a list of formats within curly braces, for example: [-f {jpg,gif,png,bmp,svg,webp,ico}]. This will restrict the input to the specified image formats.

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

3 participants