Closed jesperp closed 12 years ago
loadNode assumes first argument to Caman() is a string/path. Can we make it support Buffer as well? The underlying node-canvas supports this: https://github.com/LearnBoost/node-canvas#imagesrcbuffer
I want to be able to do something like this:
<mongo|redis|whatever>.getfile(query, function(err, buffer) { Canvas(buffer, function() { ... }) })
Comments on commit welcome, just made it as simple as possible
Good suggestion, thanks!
loadNode assumes first argument to Caman() is a string/path. Can we make it support Buffer as well? The underlying node-canvas supports this: https://github.com/LearnBoost/node-canvas#imagesrcbuffer
I want to be able to do something like this:
Comments on commit welcome, just made it as simple as possible