github.com/soreil/imager@v0.0.0-20160723145247-62b1c8bc4e6b/README.md (about) 1 # imager 2 High performance thumbnailer for integration with Go programs. 3 4 ## Dependencies 5 WebM driver 6 - libavcodec 7 - libavutil 8 - libavformat 9 - libswscale 10 11 SVG driver 12 - rsvg-convert 13 14 PDF driver 15 - ghostscript built with PDF support 16 17 ## Usage 18 The package can be called with an io.Reader containing a valid supported media type and a desired thumbnail size. Depending on the features of the filetype given the output will be PNG (transparency) or JPEG. 19 In case of a desire to use other drivers for the formats supported than those maintained by me you will have different dependencies for those parts. 20 21 Manually setting input to output file type associations and compression levels (per file) will possibly be implemented in the future.