The AutoJPG parameter is employed to convert the image file into the JPG format. You can specify the parameter ‘im=WxH/filters:autojpg()’ at the end of the URL 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=900×800/filters:autojpg()
Category: Parameters
Fit In
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)
Flipping the Image
By utilizing this parameter, you can flip the image. You can achieve this by adding the parameter ‘im=-0x-0‘. Original Image: https://push-3272.5centscdn.com/KB_IMG/Lights_5centsCDN.jpg Transformed Image: https://push-3272.5centscdn.com/KB_IMG/Lights_5centsCDN.jpg?im=-0x-0
Change Image Size
This parameter allows you to dynamically alter the image size. You can append parameters to the image file to apply transformations. For instance, here is the original image: https://push-3272.5centscdn.com/KB_IMG/Lights_5centsCDN.jpg Next, I will resize it to 300×200 dimensions. To do this, I can include the parameter ‘?im=300×200’. The updated URL will be https://push-3272.5centscdn.com/KB_IMG/Lights_5centsCDN.jpg?im=300×200 If you just […]