Skip to content

Instantly share code, notes, and snippets.

@gcollazo
Created April 29, 2014 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gcollazo/11403814 to your computer and use it in GitHub Desktop.
Save gcollazo/11403814 to your computer and use it in GitHub Desktop.
var previews = new FilePreviews({debug: true});
var url = 'https://www.filepicker.io/api/file/WHOGzEmPRSGNYKyHRBWk';
var options = {
size: {
width: 100,
height: 999,
},
metadata: ['ocr', 'exif']
};
previews.generate(url, options, function(err, result) {
console.log(result);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment