This filter adds a watermark to the image. It can be positioned inside the image with the alpha channel specified and optionally resized based on the image size by specifying the ratio. The “watermark” filter takes four parameters: the URL of the watermark image, the x and y coordinates where the watermark should be placed […]
Category: Parameters
Upscale
This filter tells the image optimizer to upscale your images. This only makes sense with “fit-in” or “adaptive-fit-in”. This means that if an original image is 300px width by 200px height and you ask for a 600×500 image, the filter will resize it to 600×400. Normal Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg Transformed Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg?im=fit-in/600×500/filters:upscale()
Stretch
This filter stretches the image until it fits the required width and height, instead of cropping the image. Normal Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg Transformed Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg?im=600×300/filters:stretch()
Sharpen
This filter enhances the apparent sharpness of the image. It’s heavily based on Marco Rossini’s excellent Wavelet sharpen GIMP plugin. Normal Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg Transformed Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg?im=filters:sharpen(2,1.0,true)
Round corners
This filter adds rounded corners to the image using the specified color as the background. 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=filters:round_corner(30,0,0,0,1)
Rotate
This filter rotates the given image according to the angle value passed. im=filters:rotate(90) -This parameter will rotate the image 90 degrees. You can specify the value according to your requirements. Normal Image: https://push-3272.5centscdn.com/KB_IMG/Ballon_5centsCDN.jpg Transformed Image: https://push-3272.5centscdn.com/KB_IMG/Ballon_5centsCDN.jpg?im=filters:rotate(90)
RGB
This filter changes the amount of color in each of the three channels. You can add the query parameter im=filters:rgb(R_value,G_value,B_value) Normal Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg Transformed Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg?im=filters:rgb(-20,30,40)
Quality
This filter changes the overall quality of the JPEG image (This is not applicable to PNGs or GIFs) using the query parameter im=filters:quality(value) 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=filters:quality(10)
Proportion
This filter applies the specified proportion to the image’s height and width when cropping. We can use the query parameter im=filters:proportion(value) 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=filters:proportion(0.5)
Noise
This filter adds noise to the image by adding the query parameter im=filters:noise(value) at the end of the URL. Normal Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg Transformed Image: https://push-3272.5centscdn.com/KB_IMG/balloon_5CC.jpg?im=filters:noise(300)