Sign inSign up

pydio/cells-convert-tools

By pydio

Updated 23 days ago

A docker image that embed various tools to generate thumbnails for a Pydio Cells Server.

Image
1

4.9K

pydio/cells-convert-tools repository overview

Cells conversion tool image

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'

Tools details and configuration

[POST] /video/frame : Extract a frame from a video.

Extracts a frame from a video with configurable time offset and resolution.

Accepted types: video/mp4

Output type: image/png

Parameters:

NAMEDEFAULTDESCRIPTION
offset2Time offset from the start
size420x222Frame resolution (WxH)
[POST] /pdf/image : Convert a PDF page to a jpeg.

Returns a jpeg image from a PDF file.

Accepted types: application/pdf

Output type: image/jpeg

Parameters:

NAMEDEFAULTDESCRIPTION
qualityquality=60Quality option of the jpeg
firstpage1first page to print
lastpage1last page to print
resolution72resolution, in DPI
[POST] /office/convert : Convert any document format to PDF.

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:

NAMEDEFAULTDESCRIPTION
formatpdfconversion format

Tag summary

Content type

Image

Digest

sha256:13365f555

Size

366.1 MB

Last updated

29 days ago

docker pull pydio/cells-convert-tools