image-server
v0.2.1
Dynamically manipulate image files as surface designs
API
preview
- upload
- Endpoint: /preview/upload
- Method: POST
- Content-Type: multipart/form-data
- Fields
- width_px: int
- height_px: int
- file: file
- download
- Endpoint: /preview/download
- Method: POST
- Content-Type: application/json
- Fields
- width_px: int
- height_px: int
- url: string
ruler
- upload
- Endpoint: /ruler/upload
- Method: POST
- Content-Type: multipart/form-data
- Fields
- width_in: float
- height_in: float
- thumb_px: int
- crop: bool
- file: file
- download
- Endpoint: /ruler/download
- Method: POST
- Content-Type: application/json
- Fields
- width_in: float
- height_in: float
- thumb_px: int
- crop: bool
- url: string
normal
- upload
- Endpoint: /normal/upload
- Method: POST
- Content-Type: multipart/form-data
- Fields
- ppi: float
- snap_width_in: float
- file: file
- download
- Endpoint: /normal/download
- Method: POST
- Content-Type: application/json
- Fields
- ppi: float
- snap_width_in: float
- url: string
repeat-check
- upload
- Endpoint: /repeat-check/upload
- Method: POST
- Content-Type: multipart/form-data
- Fields
- download
- Endpoint: /repeat-check/download
- Method: POST
- Content-Type: application/json
- Fields
- thumb_px: int
- url: string