Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Image to emoji matrix conversion #34

Open
shwippity opened this issue Jan 19, 2016 · 1 comment
Open

Image to emoji matrix conversion #34

shwippity opened this issue Jan 19, 2016 · 1 comment

Comments

@shwippity
Copy link

I'm not entirely sure if this is possible, but an easy way for a user to submit an image and have it converted to an emoji matrix.

example 1. (simple image to emoji)
/emojify apple http://vignette3.wikia.nocookie.net/adventuretimewithfinnandjake/images/7/7d/Apple.png

would create an emoji called :apple: using the image at the link or return an error if the name is already used or the link is incorrect.

example 2. (image to emoji matrix)

because emoji in slack are seamless we can create a matrix of emoji like so

/emojify apple 2*2 http://vignette3.wikia.nocookie.net/adventuretimewithfinnandjake/images/7/7d/Apple.png

would create four emojis named

:apple00::apple01:
:apple10::apple11:

or return an error

example 3. (retreiving stored emoji matrices)

when an emoji matrix is created you can either manually call it by typing

:apple00::apple01:
:apple10::apple11:

or it could be set up so we can simply write

/emojimatrix apple 2*2

and it would output it for us or return an error

The syntax doesn't have to be exactly like I've written here but this should be enough for you to get the gist of the idea and how it could scale.

Any questions let me know,

Cheers,
J

@luke-john
Copy link
Member

Looks like it's not currently possible via the api slackhq/slack-api-docs#28

However we could hook something up similar to https://github.com/smashwilson/slack-emojinator (from the slack api issue).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants