rsms/node-imagemagick — Issue #32: Empty stdout?
Author: vinch
Created: 2012-03-02 19:51:41+00:00
State: open

Hi, I try to get stdout to display an image directly to the browser but it looks like I get an empty stdout. So this doesn't work:

```javascript
im.crop({
srcPath: srcPath,
dstPath: dstPath,
width: width,
height: height
},
function(err, stdout, stderr) {
if (err) throw err

console.log('stdout: ' + stdout);

response.writeHead(200, {'Content-Type': mimeType});
response.write(stdout, 'binary');
response.end();
});
```

Any ideas?