Comment

Comment by hugs

I was really hoping this would work on the server-side, too. It didn't. :-( Or maybe I configured something wrong?

Here's what I found:

    $ git clone https://github.com/yahoo/gifshot.git
    $ cd gifshot
    $ npm install
    $ node
    
    > var gifshot = require('./build/gifshot')
    
    > gifshot.createGIF(
    ...   {'images':['random-image.png'],
    .....    'text': 'Test'},
    ...    function(obj) { 
    .....      console.log('Done!');
    .....      console.log(obj);
    ..... })
    Done!
    { errorCode: 'canvas',
      errorMsg: 'Canvas elements are not supported in your browser',
      error: true }
parent hugs 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton