This image allows for converting between image formats.
513
docker run -p5000:8001 -e PORT=8001 cityofedmonton/image-convert
This is an image conversion service. Find the code on GitHub.
Version : 1.0.0
Contact Email : [email protected]
License : Apache 2.0
License URL : http://www.apache.org/licenses/LICENSE-2.0.html
Terms of service : https://www.edmonton.ca/conditionsofuse.aspx
Host : localhost:5000
BasePath : /api/v1
Schemes : HTTP
POST /convert
| Type | Name | Description | Schema |
|---|---|---|---|
| FormData | image required | The image file to be converted. | file |
| FormData | inputformat required | The image type (heic, jpeg, png). | string |
| FormData | outputformat required | The output image type (jpeg, png). | string |
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | file |
| 400 | Invalid input | No Content |
multipart/form-dataimage/jpegimage/pngPOST /resize
Note that this doesn't work with HEIC images.
| Type | Name | Description | Schema |
|---|---|---|---|
| FormData | height required | The output image height. | number |
| FormData | image required | The image file to be converted. | file |
| FormData | inputformat required | The image type (jpeg, png). | string |
| FormData | width required | The output image width. | number |
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | file |
| 400 | Invalid input | No Content |
multipart/form-dataimage/jpegimage/pngContent type
Image
Digest
Size
127.9 MB
Last updated
about 7 years ago
docker pull cityofedmonton/image-convert