Using ZIP PNG will reduce the image payload significantly and increase the website’s performance.
The easiest way to understand ZIP PNG is to see it as an intelligent Content Delivery Network (CDN). The built-in intelligence automatically (or explicitly) optimizes images for the requesting device or browser. In most cases the data traffic generated by images will be reduced up to 90 percent compared to the original images.
Go to our server URL https://q.zippng.com then append
/upload/; after that you can pass these options below, followed by an underscore and a value
q_75. Options are separated by coma (configurable to other separator).
After the options put the source of your image, it can be relative to your server or absolute:
So to get a pretty dog a with 75% compression, you would write:
Enabling ZIP PNG for your WordPress image content is very simple. You can use plugin such as CDN Enabler (free).
CDN URL: Insert our endpoint URL and your URL, for example
.php,.js,.css,.eot,.woff,.woff2,.ttf,.svg, .zip,.ico, .mp4, .mp3
Relative Path: check
CDN HTTPS: check
WP Rocket is the most powerful caching plugin in the world. Use it to improve the speed of your WordPress site, SEO rankings and conversions.
Description: Sets the target width of the image. If not set, width will be calculated in order to keep aspect ratio.
Description: Sets the target height of the image. If not set, height will be calculated in order to keep aspect ratio.
By default setting width and height together, works like defining a rectangle that will define a max-width and max-height and the image will scale proportionally to fit that area without cropping.
By default; width, height, or both will not scale up an image that is smaller than the defined dimensions.
Description: When both width and height are set, this allows the image to be cropped so it fills the width x height area.
smc: smart crop
Description: Smart cropping feature, uses python script to determine coordinates.
Description: When crop is applied, changing the gravity will define which part of the image is kept inside the crop area. The basic options are:
Description: Apply image rotation (using shear operations) to the image.
Description: Output format requested, for example you can force the output as jpeg file in case of source file is png. The default auto will try to output the best format for the requesting browser, falling back to the same format as the source image or finally with a fallback to jpg.
input is passed, no “optimal” format will be attempted. ZipPNG will try to respond with the source format or fallback to
Description: Sets the compression level for the output image. Your best results will be between 70 and 95.
Description: If output is set to webp, it will default to lossy compression, but if you want lossless webp encoding you have to set it to 1.
Description: When this parameter is 1, it will force a re-request of the original image and run it through the transformations and compression again. It will delete the local cached copy.
The nginx server will send headers to prevent caching of this request.
It will also send headers with the command done on the image + info returned by the command identity from Imagemagik.
color (multiple formats)
Description: Sets the background of the canvas for the cases where padding is added to the images. It supports hex, css color names, rgb. Only css color names are supported without quotation marks. For the hex code, the hash
# character should be replaced by
Description: removes exif data and additional color profile. Leaving your image with the default sRGB color profile.
Description: The alternative resizing method to -thumbnail.
Description: Use moz-jpeg compression library, if
0 it fallsback to the default ImageMagick compression algorithm.
Description: Sharpens an image (despite the unfortunate naming). It basically sharpens via subtracting a blurred, low contrast, version of the image to the image itself. For more details check Imagemagick docs.
Description: Use a Gaussian operator of the given radius and standard deviation (sigma). For more details check Imagemagick docs.
Description: Apply Blur on a image. For more details check Imagemagick docs.
Description: Resizing algorithm, Triangle is a smoother lighter option.
Description: The “-scale” resize operator is a simplified, faster form of the resize command. Useful for fast exact scaling of pixels.
pg: page number
Description: Sets the target page of the PDF. If not set, the default is page 1.
Description: Sets the frame capture time duration point in the video. If not set, the default is 1 second. The format is