Skip to content

Commit

Permalink
fix mapnik.Image.fromBytes doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Aug 16, 2017
1 parent 9f0d98c commit 13005d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapnik_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3369,7 +3369,7 @@ v8::Local<v8::Value> Image::_fromBytesSync(Nan::NAN_METHOD_ARGS_TYPE info)
* @memberof Image
* @example
* var buffer = fs.readFileSync('./path/to/image.png');
* mapnik.Image.fromBytesSync(buffer, function(err, img) {
* mapnik.Image.fromBytes(buffer, function(err, img) {
* if (err) throw err;
* // your custom code with `img` object
* });
Expand Down

0 comments on commit 13005d4

Please sign in to comment.