Jump to content

Messenger game bot image generation


Bodman
 Share

Recommended Posts

For those who have experience with developing out a facebook messenger game bot.  Have any of you created a bot that generates images dynamically via user profile images? If so, what is your process for this?

Are you using node-canvas? 
Are you creating the image on the client side and then passing the created image to the bot for future use? 
How did you tackle this problem? 

Thanks for any insight you bring :) 

 

Example

Screenshot_20180828-153030.thumb.png.ca8fd1cef5f2bb566a1a5d55c9123230.png

 

Link to comment
Share on other sites

 

6 hours ago, Bodman said:

How did you tackle this problem? 

Within a NodeJS environment I like to use PhantomJS for server-side image creation.  Reason being that it works pretty much exactly as client-side image creation and is single dependency.  If wanting to "off-world" the Phantom process there is the excellent PhantomJSCloud.com service.

Link to comment
Share on other sites

3 hours ago, b10b said:

Within a NodeJS environment I like to use PhantomJS for server-side image creation.  Reason being that it works pretty much exactly as client-side image creation and is single dependency.  If wanting to "off-world" the Phantom process there is the excellent PhantomJSCloud.com service.

Great! Thanks for the input! I usually use node-canvas but it requires many non node decencies. I'll have to see about PhantomJS . 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...