shime / dominant-color

Gets dominant color of an image.
MIT License
63 stars 0 forks source link

Use directly with image buffers? #1

Open pketh opened 9 years ago

pketh commented 9 years ago

So I have an image buffer object that looks like

<Buffer 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 90 00 00 01 90 08 06 00 00 00 80 bf 36 cc 00 00 00 01 73 52 47 42 00 ae ce 1c e9 00 00 11 33 ... >

I can write this to a file first, and then pull it back in, but I was wondering if the lib supported working directly with image buffers?

shime commented 9 years ago

Not right now, sorry. I would definitely merge support for that in, since I don't have time to add support for that myself.