To use this library, you need Emacs 29 or later. It has to be built with all the normal image-related goodies.
See Welcome New Emacs Developers for simple instructions on how to do this.
Meme.el depends on imgur.el. Download it and put it in your
load-path
.
You will also need to get the correct fonts,
$ apt install ttf-mscorefonts-installer
Using an AUR wrapper,
$ pacaur -S ttf-ms-fonts fontconfig-ttf-ms-fonts
Meme.el is not officially part of MELPA yet, so the easiest way to install it is to clone the repository and add it to your Emacs load path,
$ cd /path/to/src
$ git clone https://github.com/larsmagne/meme.el
Then in your init.el
add the following:
(add-to-list 'load-path "/path/to/src/meme")
(require 'meme)
(autoload 'meme "meme.el" "Create a meme from a collection" t)
(autoload 'meme-file "meme.el" "Create a meme from a file" t)
You can now effectively generate memes within Emacs from
M-x meme
, will allow you choose an image to edit from those
stored in /path/to/src/meme/images
M-x meme-file
will let you browse to the desired image file.