1 Image Converters
Convert image files to different formats.
Example request with curl
curl -X POST "https://convert.tigerra.com/do-convert/jpg-to-png" \
-H "Authorization: Bearer your-token" \
-F "file=@/path/file.jpg"
Valid url parameters
heic-to-jpg, pdf-to-jpg, psd-to-jpg, eps-to-jpg, webp-to-jpg, tiff-to-jpg, heic-to-png, psd-to-png, eps-to-png, webp-to-png, svg-to-png, tiff-to-png, jpg-to-png, jpg-to-webp, jpg-to-tiff, jpg-to-gif, png-to-gif, png-to-jpg, png-to-webp, png-to-svg, png-to-tiff, png-to-eps
2 After the conversion request, you will receive a PID with which you can check the status of your request and delete the file.
Example response
{
"status":"pending",
"pid":"1:7a005b208e60445389c7930b376f91e4"
}
3 To check the status of the convertion, use the following request.
Example status check request
curl -X GET "https://convert.tigerra.com/get-status/1:7a005b208e60445389c7930b376f91e4" \
-H "Authorization: Bearer your-token"
4 If the conversion is successful, you will receive a status of 'completed' and a data attribute containing the download URL.
Example status check response
{
"status": "completed",
"data": "https://convert.tigerra.com/download/My9kZjkxZGZhMzNmMWE0NmZjODYwZDk4YmE3MDAxOTIwMi0xNzMwOTE0MjY1LTM6YmFlMmE3N2FkNjRiNGE0OTljYzZlYTkwYjA2ZWE3NmQvMS5tcDM"
}
5 Download the converted file. Receive the file as a stream or multiple files urls for download as a stream.
Example file download
curl -X GET "https://convert.tigerra.com/download/My9kZjkxZGZhMzNmMWE0NmZjODYwZDk4YmE3MDAxOTIwMi0xNzMwOTE0MjY1LTM6YmFlMmE3N2FkNjRiNGE0OTljYzZlYTkwYjA2ZWE3NmQvMS5tcDM" \
-H "Authorization: Bearer your-token" \
--output downloaded_file.ext
6 Delete the file.
Example file deletion
curl -X DELETE "https://convert.tigerra.com/delete-pid/1:7a005b208e60445389c7930b376f91e4" \
-H "Authorization: Bearer your-token"