Thumbnail generation feature
As a user i want to create thumbnails in different filetype formats from a given file.
Input can be:
- PDF, DOC, DOCX, PPT etc. (mostly important document and image formats, should depend on the library we choose)
- targetFormat (type) (only image formats, JPG, PNG, WEBP would be nice)
- targetMaxResolution (max resolution because we don't want to change aspect ratio? Maybe targetMaxHeight and targetMaxWidth?)
- quality (optional? Depends on what the underlying library supports)
Output could be:
- JPG, PNG, WEBP, JPEG (image formats, depends on what the library supports)
- Wrapped as in all other docsrabbit endpoints into a json payload with base64 field
Notices
- It would be nice to support PNG with transparency