Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karashiiro/discord-png2fakegif
Converts PNGs into (mostly) still GIFs that Discord recognizes as animated emotes.
https://github.com/karashiiro/discord-png2fakegif
discord emote
Last synced: 26 days ago
JSON representation
Converts PNGs into (mostly) still GIFs that Discord recognizes as animated emotes.
- Host: GitHub
- URL: https://github.com/karashiiro/discord-png2fakegif
- Owner: karashiiro
- License: unlicense
- Created: 2021-06-04T00:40:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-04T22:20:52.000Z (over 3 years ago)
- Last Synced: 2024-06-21T19:04:59.591Z (5 months ago)
- Topics: discord, emote
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-png2fakegif
Converts Discord emote PNGs into (mostly) still GIFs that Discord recognizes as animated emotes.Just converting a PNG into a GIF does not at this time allow the emote to be stored in an animated emote slot, because they aren't actually animated.
This program creates a GIF with two frames, one with a single pixel changed from the other, that does count as an animated emote.This process saturates the emote a bit. Trying the two color palettes Go offers resulted in one looking washed-out and the other looking saturated,
so I chose to keep the saturated one.This will lock the emote to Nitro users only. Most servers don't need this.
## Usage
`discord-png2fakegif.exe ./emote.png`Or, just drop the PNG on the executable. The output file will be named `emote.png.gif` if your input filename is `emote.png`. You can also provide
multiple files to do bulk conversions.## Example
### Input PNG
![Example input](./example.png)### Output GIF
![Example output](./example.gif)### Uploading
Uploading the output to Discord shows that it interprets the GIF as animated.
![Example upload](./upload_example.png)