When I preview the page "Qajar Dynasty" on the page "Battle_of_Krtsanisi," by hovering over Qajar Iran the flag renders in low resolution.
However, the actual file is not low-resolution at all.
Developer notes
This is an API problem.
The SVG is converted to a PNG
https://en.wikipedia.org/api/rest_v1/page/summary/Qajar_Iran
Ideally the API should be returning a SVG rather than a PNG, however this may be a limitation of PageImages or MediaWiki.