0.0.5 • Published 9 years ago

gulp-webloc2png v0.0.5

Weekly downloads
-
License
-
Repository
-
Last release
9 years ago

gulp-webloc2png

A gulp plugin convert html pages to png files

dependency

  • webkit2png
brew install webkit2png

Usage

var gulp = require('gulp'); 
var webloc2png = require('gulp-webloc2png');
var watch = require('gulp-watch');
gulp.task("webloc2png",function(){
	gulp.src(['urls/*.webloc'])
		.pipe(webloc2png({
			browserWidth:1280,
			browserHeight:720,
			clipWidth:1280,
			clipHeight:720,
			scale:1,
			dir:"screenShot"
		}))
});
gulp.task("default",function(){
	watch("urls/*.webloc",function(){
		gulp.start("webloc2png");
	});
});

LICENSE

(MIT License)

Copyright (c) 2014 horicdesign

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago