How to specify the extension of images.
UtkarshBhardwaj007 opened this issue · comments
Utkarsh Bhardwaj commented
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 commented
use this argument: [-f {jpg,gif,png,bmp,svg,webp,ico}]
Glenn Jocher commented
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.