Image Converter
Introduction
The Image Converter API allows you to convert images from one format to another programmatically. This is particularly useful for applications that need to process images in specific formats, optimize images for web use, or integrate image conversion into automated workflows. By providing a URL to the image file and specifying the target format, the API returns a URL to the converted image.
Usecases
- Image Format Standardization: Convert various image formats to a standard format required by your application.
- Web Optimization: Convert images to web-friendly formats like JPEG or PNG for faster loading times.
- Document Processing: Convert images to PDF for archiving or sharing purposes.
- Compatibility: Ensure images are in a format compatible with specific software or systems.
API Details
API Request
curl --location 'https://api.signzy.app/api/v3/convert/image-format' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_TOKEN' \
--data '{
"file": "https://example.com/path/to/your/image.jpg",
"targetFormat": "PNG"
}'Request Body Parameters
Parameter | Description | Data Type | Mandatory/Optional |
|---|---|---|---|
file | File which one wants to convert | String (URL Of Image) | Mandatory |
targetFormat | The target format of output file Supported Target Formats are TIFF (.tif, .tiff) JPEG (.jpg, .jpeg) PDF (.pdf, first page only) PNG (.png) | String | Mandatory |
API Response
{
"result": {
"convertedFile": "https://persist.signzy.tech/api/files/unique_id/download/converted_image.png"
}
}