The fit-in argument specifies that the image should not be auto-cropped and auto-resized to be EXACTLY the specified size, and should be fit in an imaginary box of “E” width and “F” height, instead.
Normal Image:
https://push-3272.5centscdn.com/KB_IMG/Lights_5centsCDN.jpg
Transformed Image:
https://push-3272.5centscdn.com/KB_IMG/Lights_5centsCDN.jpg?im=fit-in/500×500/filters:fill(blue)