mediawiki – wikipedia/wikimedia – retrieve images with custom resolution

I am scraping wikipedia for images and an url for images has the format as follows:

https://upload.wikimedia.org/wikipedia/commons/9/9b/Dostoevskij_1863.jpg

I went through the documentation and etc. but could not find a way how to retrieve given image in smaller size.

Does there exist a way how to get wikipedia/wikimedia images in smaller size through http (based on original url)?
(I am talking about getting the image already resized from the source, not resizing after download )