ultralytics / google-images-download

Google/Bing Images Web Downloader
https://ultralytics.com
GNU Affero General Public License v3.0
294 stars 84 forks source link

How to specify the extension of images. #10

Open UtkarshBhardwaj007 opened 3 years ago

UtkarshBhardwaj007 commented 3 years ago

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 1 year ago

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

glenn-jocher commented 7 months ago

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.