Image Optimization

A service that reduces JPEG and PNG files without affecting quality and transparency. Save storage space, speed up your website, and improve its SEO score.Read more
Choose a discounted package
Quantity discounts
100 Credits / image 
Description Image Optimization

Image optimization is a service that can help you save up to 40% of the space occupied by images on your storage. Do you have hundreds, thousands, or perhaps hundreds of thousands of images? With our Image Optimization, it won't be a problem.

Image optimization can reduce the size of digital images in JPEG and PNG formats without loss of quality, with 100% transparency support. Using smart lossy compression methods, your images can be stored in a smaller data volume.This effect is visually almost imperceptible, but it has a significant impact on the file size! Your website will load faster, thereby increasing its performance. Proper image optimization also contributes to better SEO and higher search engine rankings, in other words, it helps you attract more visitors.

 

 

For developers
We have prepared some simple examples of connecting to the DataSqueezer API in common programming languages.
cURL
Python
PHP

curl -H "Content-Type: application/json" https://datasqueezer.com/nexus/createTask -d '{ "token": "__API_TOKEN__", "service": "optimizeimg", "data": "__IMAGE_DATA__" }'

 

 

NAME DESCRIPTION REQUIRED PARAMETER
__IMAGE_DATA__

Image data in base64

yes

import requests
import json

endpoint = 'https://datasqueezer.com/nexus/createTask'

data = {
'token': '__API_TOKEN__',
'service': 'optimizeimg',
'data': '__IMAGE_DATA__',
}

response = requests.post(endpoint, data=json.dumps(data))

 

NAME DESCRIPTION REQUIRED PARAMETER
__IMAGE_DATA__

Image data in base64

yes

$curlHandle=curl_init("https://datasqueezer.com/nexus/createTask");

$data=[
'token'=>'__TOKEN__',
'service'=>'optimizeimg',
'data'=>'__IMAGE_DATA__'
];

curl_setopt($curlHandle, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curlHandle, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curlHandle, CURLOPT_FOLLOWLOCATION, true);

$response=curl_exec($curlHandle);
$error_msg=curl_error($curlHandle);
curl_close($curlHandle);

 

NAME DESCRIPTION REQUIRED PARAMETER
__IMAGE_DATA__

Image data in base64

yes
chat
Or write to us at
Login
Don't have an account yet?Sign up.
Tracking product
Please fill in all conditions which has to be reached and an email address where you want to get a notification
Credits
The use of DataSqueezer services is tied to a user account, which needs to be set up in advance. Do you wish to create a registration or sign in?
Sign Up