Image Resize API

Description

Optimize and resize images. API that lets you resize without reducing the quality of the image.

Pricing per Call: 0.0001$
For learn the packages and usage details of the services, go to the pricing page.

End Points

get/resizeImage

Resize and optimize service.

Parameters
FieldDescriptionTypeHeaderRequired
photourlEnter the image link that want to resize.text
heightEnter the image heigth that want to resize.number
widthEnter the image width that want to resize.number
sizeThe size of image you want to take actionnumber
typeThe type of image you want to take actiontext
Example
Request
{
  "uri": "https://api.collectapi.com/resize/resizeImage?photourl=url&imgheight=height&imgwidth=width&type=type",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "image": "www.collectapi.com/images/url_resizeimages.jpg",
      "width": "500",
      "height": "500",
      "type": "jpg",
      "size": "500"
    }
  ]
}