Compress Image
Introduction
The Image Compression API is a lightweight and efficient tool designed to optimize images for faster loading, reduced storage requirements, and seamless sharing. In today’s web and mobile environments, uncompressed images can significantly slow down performance and consume bandwidth. Our API helps solve this by delivering high-quality compressed images while retaining visual clarity.
Key Features
- Optimized Compression: Reduce image file sizes without compromising visual quality.
- Seamless Integration: Simple REST API, easy to plug into any workflow or application.
- Cloud Hosting: Compressed images are hosted securely on the cloud, instantly accessible via URL.
- Multi-Format Support: Works with JPEG, PNG formats.
API details
Endpoint
POST https://api.signzy.app/api/v3/converters/compress-ImagesPOST https://api-preproduction.signzy.app/api/v3/converters/compress-ImagesRequest Headers
Name | Required | Description |
|---|---|---|
Content-Type | Mandatory | Type of request body. Must be `application/json`. |
Authorization | Mandatory | Bearer token (API key) for authentication. |
Request body parameters
Parameter | Required | Description |
|---|---|---|
url | Mandatory | Publicly accessible URL of the image to compress. |
{
"url": "https://example.com/abc.png"
}Code Samples
curl --location 'https://api-preproduction.signzy.app/api/v3/converters/compress-Images' \
--header 'Authorization: <auth-key>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://example.com/abc.png"
}'Response body parameters
Parameter | Data Type | Description |
|---|---|---|
result | Object | The root object containing the result. |
compressedImage | String | Public URL of the compressed image |
{
"result": {
"compressedImage": "https://example.com/download/abc.png"
}
}