Comments (7)
I was able to put this together: https://jsfiddle.net/m28djz1c/. Obvisouly extremely jank (images aren't sorted, aren't split up etc), but it works. We could use Uploader.upload
to upload the file.
from discordfreeemojis.
It could really bloat up the size of the plugin to do something like that, and gifs wouldn't be supported
It is possible, but people usually would want to do this with animated emojis I assume
from discordfreeemojis.
Hmm, Well, that's true, but I think that should help a lot in the flood problem
Also, maybe you can just like what you do now, keep 2 versions of the plugin.
To the one with composition, to allow use gifs, just disable this feature to animated emojis
from discordfreeemojis.
Another possibility, Only compose the image when select multiple static emojis.
To the animated ones we can't do much with this library, then maybe just put links in that case, or just find alternative libraries (that i'm sure we're able to found at least one).
Bloat the plugin size isn't a problem at all, isn't like the discord, a chromium app is optimized pfff. also, just like you do currently you can release as a 'special versoin' to who wants, and still release the minimal version of the plugin.
from discordfreeemojis.
Working with images on the canvas isn't that bad for static images IMO. For gifs, it should be possible (anything is ;)), but to do it all in JS, performantly, would be a huge pain sans other libs (and probably even with other libs). Every example I've seen requires an LFZ decompressor, other stuff, etc
from discordfreeemojis.
Another thing that would be hard about GIFs would be stringing them together in a way that they all appear coherently. If gif A has 41 frames forming one perfect loop, and gif B has 55 frames forming a perfect loop, and gif C has 13 frames forming a perfect loop, you'll need 29,315 frames to loop it all perfectly. And of course there's heuristics you could take to try and cut the gif at less destructive points, but it would be complicated and janky to do this the "right" way, no matter how you define "right".
from discordfreeemojis.
Good job @Mattwmaster58
from discordfreeemojis.
Related Issues (20)
- [BUG] Free Emojis HOT 1
- not working??? HOT 6
- Confusing HOT 2
- DiscordFreeEmojis not working HOT 11
- [split] version no longer functional? HOT 2
- dont download, its malicious HOT 5
- Better emoji image quality? HOT 6
- Nothing is working HOT 13
- Feature Request: Glitch code hiding links
- can't install
- [Feat Request] Remove overlay HOT 1
- doesn't work with reactions HOT 1
- [BUG] broken after latest update HOT 2
- [Feature Request] Colored emojis in preview HOT 6
- Please update the code
- [Discord Breaking Change] Can't send emojis HOT 13
- Emote never sends just grey out and stalls HOT 2
- Repo is inactive and in broken state, Fork available in the meantime HOT 4
- It doesnt work when I pick an emoji HOT 4
- Cannot send custom emojis in DMs HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discordfreeemojis.