Image Optimization

Optimize Files with lossless compression.

File Type

Supported Files are PDF, Images Supported image for compression jpeg jpg jfif png bmp gif pnm tiff svg

Endpoint

POST - /optimize

Parameters

Files need to be uploaded for compression.

file

File that need to be compress Allowed File size upto 100MB

Type - `File is required`

Default - `Null`

File Size

If uploaded file size exceed 100MB. Status Code 429 will be Return.

Example

With File Request

curl --form "file=@myimage.jpg" $BASE_ROUTE/optimize

Notes

File Storage

Original file and converted file are store only for 30 minutes on server. In that you can apply multiple conversion and download converted file by given conversion Id.

Contributors: coder9118