Bing Search API Filter by Image Size

I am working with Bing Image Search API using jsonp with jquery $ .ajax. I can get search results. But I can't find a way to filter the results by image size. I can't find anything about this in the documentation. Does anyone know if there is a way to filter the results by image size, or do some type of filtering for that matter.

+2


source to share


2 answers


You can do Image.Filters = Size: Small to filter small images, you can also use medium and large.



+1


source


Here's a more complete sample (the selected answer resulted in this) that might be helpful for anyone facing this issue in the future:

request.Image = new ImageRequest();
request.Image.Filters = new string [1] {"Size:Small"};

      



More options to add to the Filters array can be found here . NTN.

0


source







All Articles