Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A random placeholder generator from pictures for node.js
branch: master
Failed to load latest commit information.
README.md Fix code sample in readme
index.js Fix code sample in readme
package.json Fix code sample in readme
test.js Fix code sample in readme

README.md

PlaceHolder

A placeholder generator. It would index images in a dir and use them to generate placeholder. It will try to always take the best one.

Usage :

var  PlaceHolder = require("placeholder");
var ph = new PlaceHolder("sourceDir/","destDir/");
ph.getImage(1920,1080,function(){
    console.log("Image generated!");
})
Something went wrong with that request. Please try again.