Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

this example now uses the new encodeSync function

  • Loading branch information...
commit 1a5f26bb3400dfc33616b92e7aa6bd05eac9f273 1 parent 2f94fe9
Peteris Krumins authored August 13, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  examples/dynamic-jpeg-stack.js
2  examples/dynamic-jpeg-stack.js
@@ -28,7 +28,7 @@ files.forEach(function(file) {
28 28
     jpegStack.push(buf, dim.x, dim.y, dim.w, dim.h);
29 29
 });
30 30
 
31  
-fs.writeFileSync('dynamic.jpg', jpegStack.encode(), 'binary');
  31
+fs.writeFileSync('dynamic.jpg', jpegStack.encodeSync(), 'binary');
32 32
 
33 33
 var dims = jpegStack.dimensions();
34 34
 

0 notes on commit 1a5f26b

Please sign in to comment.
Something went wrong with that request. Please try again.