A docker image that embed various tools to generate thumbnails for a Pydio Cells Server.
4.9K
A docker image that embed various tools to generate thumbnails for a Pydio Cells Server.
To start the convert tool image, simply run:
With docker:
docker run --name cells-convert-tools -it -d -p 9997:9997 pydio/cells-convert-tools
Out of the box, we provide reasonable defaults.
At run time, some of the most important parameters can be overwritten via the POST Header, for instance:
curl --location --request POST 'http://localhost:9997/video/frame' \
--header 'x-cells-tools-size: 600*400' \
--header 'x-cells-tools-offset: 1' \
--header 'Content-Type: video/mp4' \
--data-binary '@/Users/bob/Downloads/MyVideo.mp4'
Extracts a frame from a video with configurable time offset and resolution.
Accepted types: video/mp4
Output type: image/png
Parameters:
| NAME | DEFAULT | DESCRIPTION |
|---|---|---|
| offset | 2 | Time offset from the start |
| size | 420x222 | Frame resolution (WxH) |
Returns a jpeg image from a PDF file.
Accepted types: application/pdf
Output type: image/jpeg
Parameters:
| NAME | DEFAULT | DESCRIPTION |
|---|---|---|
| quality | quality=60 | Quality option of the jpeg |
| firstpage | 1 | first page to print |
| lastpage | 1 | last page to print |
| resolution | 72 | resolution, in DPI |
Convert any document format to PDF.
Accepted types: application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.openxmlformats-officedocument.presentationml.presentation application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.ms-powerpoint application/vnd.ms-excel application/msword
Output type: application/pdf
Parameters:
| NAME | DEFAULT | DESCRIPTION |
|---|---|---|
| format | pdf | conversion format |
Content type
Image
Digest
sha256:13365f555…
Size
366.1 MB
Last updated
29 days ago
docker pull pydio/cells-convert-tools