Different resampleFilter-s for images

I have several images in my blog that need to be resized to larger size and some that need to be made smaller. For making the images larger Lanczos works better but for making the images smaller it produces distorted images. Is there any solution for this problem?

Set the filter when doing the resize. Depending on what you have/want, you may have to do some if le .Width 800 logic.

Where do I do that? Currently the filter is set in config.toml file

.Resize "200x200 Lanczos" It’s in the docs.

Yes, I saw that. I’m just not sure which file I need to edit.