ultralytics / google-images-download

Google/Bing Images Web Downloader

Home Page:https://ultralytics.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to specify the extension of images.

UtkarshBhardwaj007 opened this issue · comments

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.

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

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.