Skip to content

samuelmartineau/gulp-pdf-thumbnail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-pdf-thumbnail

NPM version Build Status Coverage Status Dependency Status MIT licensed

NPM

What this?

Gulp plugin that generate PNG thumbnail from PDF files.

Getting started

First download and install GraphicsMagick or ImageMagick.

[imagemagick!] (http://www.imagemagick.org) [graphicsmagick!] (http://www.graphicsmagick.org/) [ghostscript!] (http://www.ghostscript.com/)

Install

$ npm install --save-dev gulp-pdf-thumbnail

Usage

var gulp = require('gulp');
var pdfThumbnail = require('gulp-pdf-thumbnail');

gulp.task('default', function () {
	return gulp.src('src/file.pdf')
		.pipe(pdfThumbnail())
		.pipe(gulp.dest('dist'));
});

License

MIT © Samuel Martineau

About

Gulp plugin that generate PNG thumbnail from PDF files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published