Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.68 KB

README.md

File metadata and controls

54 lines (43 loc) · 1.68 KB

QuickPicResize API Documentation

Introduction

QuickPicResize is a free API for dynamically resizing images to specific dimensions. This documentation provides details on how to use the API to resize images efficiently.

API Endpoints

Resize Image

Endpoint: POST /resize/api

Parameters:

  • imageFile (file): Image file to upload
  • width (integer): Desired width of the resized image
  • height (integer): Desired height of the resized image

Usage Examples

Resize Image

Resize an image with width 300px and height 200px.

Command Line:

curl -X POST -F "[email protected]" -F "width=300" -F "height=200" http://core.hyperdyn.cloud/resize/api

Response:

{
  "status": "success",
  "message": "Image resized successfully",
  "resized_image_url": "http://core.hyperdyn.cloud/resized_image.jpg"
}

Response Structure

The API returns a JSON response with the following structure:

{
  "status": "success" | "error",
  "message": "Description of the result",
  "resized_image_url": "URL of the resized image (if successful)"
}

Skandan V's Dev Card