Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

unhandled EPIPE error when using identify on a buffer #109

jonathanong opened this Issue Dec 13, 2012 · 2 comments


None yet
3 participants

jonathanong commented Dec 13, 2012

My Code:

var gm = require('gm').subClass({
  imageMagick: true

var image = __dirname + '/taylor-swift.jpg'

require('fs').readFile(image, function (err, buffer) {
  gm(buffer).identify(function (err, identity) {
    // Unhandled error is thrown here

The error I get:

        throw arguments[1]; // Unhandled 'error' event
Error: write EPIPE
    at errnoException (net.js:769:11)
    at Object.afterWrite (net.js:593:19)

i can replicate this issue... any idea as to what causes it?

@aheckmann aheckmann closed this in 795734c Dec 14, 2012

aheckmann added a commit that referenced this issue Dec 14, 2012


aheckmann commented Dec 14, 2012

just released 1.8.0 with a fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment