Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Jimp constructor with image buffer #7

Closed
BenoitClaveau opened this issue Jan 17, 2015 · 1 comment
Closed

Add a Jimp constructor with image buffer #7

BenoitClaveau opened this issue Jan 17, 2015 · 1 comment

Comments

@BenoitClaveau
Copy link

Could you please add a Jimp constructor with image buffer and not only path.

@oliver-moran
Copy link
Collaborator

Done in 0.1.3.

You can now construct like this:

var image = new Jimp(data, "image/png", function () {
    // ready
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants