Skip to content

I don't know if this is still maintained but can't get it to work #6

Description

@edasque

a simple:

        ce.topColours("_screenshot.jpg", true, function(colours) {
          console.log(colours);
        });

leads to:

{ [Error: Command failed: ] code: null, signal: 'SIGSEGV' }

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: ENOENT, open '/var/folders/3n/0z4f25zs3xb4qq3bj_hcr8xx8c1857/T/1141122-1591-1wrmyc6.miff'

I have restricted gm to be <1.0.0 but still having the issue.

I thought this was due to the write("histogram:"+tmpFilename... but the issue seems to be with:

       .scale(Math.ceil(wh.height/ratio), MAX_W)  # Scales the image, histogram generation can take some time

Does it work with recent versions of GraphicsMagick (I have 1.3.20)?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions