Soreil / imager

Extensible media thumbnailer using the Go image package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imager

High performance thumbnailer for integration with Go programs.

Dependencies

WebM driver

  • libavcodec
  • libavutil
  • libavformat
  • libswscale

SVG driver

  • rsvg-convert

PDF driver

  • ghostscript built with PDF support

Usage

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. 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.

Manually setting input to output file type associations and compression levels (per file) will possibly be implemented in the future.

About

Extensible media thumbnailer using the Go image package.


Languages

Language:Go 100.0%