News for hackers. Stuff that matters.
Re:An Attempt To Use Browserify by masswerk on Wednesday November 13, 2013 @09:34AM (#6725362)
Er ... "I can now grab the user's webcam stream, generate a GIF, and let the user download or share it on an image hosting platform. And all of this is done in the front-end using a lightweight interface!" ... that's 3 lines (sorry: 4) of native JS, we need node-modules for this?
Re:An Attempt To Use Browserify by secoif on Wednesday November 13, 2013 @10:20AM (#6725680)
you can generate a gif with native js?
Re:An Attempt To Use Browserify by masswerk on Wednesday November 13, 2013 @11:59AM (#6726498)
Not exactly a gif-image, because of license restrictions (which may also be a problem with any OSS library), but image/png, image/jpeg and (Chrome) image/webp and any animations built of these. (This is a political issue and not a technical one.) To have gif, you would have to implement the algorithm by your own and pay fees or ...
Re:An Attempt To Use Browserify by fraserxv on Wednesday November 13, 2013 @10:48AM (#6725927)
Yeap. Check out the code here. https://github.com/fraserxu/gifme There's an awesome library to do this. It's basically capture serval frames and use a algorithem to generate it.