Thumb.read()

Create a read stream with a source path

Usage

Hover over inputs/exits for more info.

var Thumb = require('machinepack-thumb');


// Create a read stream with a source path

Thumb.read({

source: 'samples/test.png',

}).execSync();

Inputs

source required

a source path

'samples/test.png'

Exits

error

An unexpected error occurred.

errorFileNotFind

File Not Find

success

OK.