Skip to content

Commit

Permalink
buffer streams when using the autoArient helper
Browse files Browse the repository at this point in the history
  • Loading branch information
kainosnoema committed Dec 14, 2011
1 parent fbc379f commit 0ea1783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/convenience/autoOrient.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function (proto) {
proto.autoOrient = function autoOrient () {
var self = this;
self.preProcess(function(callback) {
self.orientation(function (err, orientation) {
self.orientation({bufferStream: true}, function (err, orientation) {
if (err) return callback(err);

var transforms = exifTransforms[orientation.toLowerCase()];
Expand Down

0 comments on commit 0ea1783

Please sign in to comment.