Closed Sparragus closed 9 years ago
Hi Richard, I believe the underlying libphash API lacks support for stream or buffer based input.
The addition of stream-based input would be easier to implement and might be more appropriate for https://github.com/mgmtio/dhash-image, should its image hashing algorithm meet your needs.
I was afraid of that. Still, thanks for your reply. I'll check out dhash. If it works better or just as well as phash, I might switch and try to implement streams.
Cheers!
It'd be very efficient and useful to accept a readable stream as an input to the phash function.
I mean this:
phash(readableStream, callback)
Here's an example on why that would be a good idea:
Is this possible? I would be happy to implement this if someone points me in the right direction.