Image scaling in Wordpress

I have a WordPress site, wherein I have different size of images named: img-30x30.png img-150x150.png img-600x600.png .. etc

Is there any plugin or method which helps me to get the image based on viewport? I read about the srcset, but there are already a lot of images are there in my site.. so editing the entire code will be difficult.