Flask extension to create thumbnails, with PDF support.