Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!
From the project's README:
Alfred 3 workflow to convert image file to data uri
$ npm install --global alfred-image-datauri
Requires Node.js 8+ and the Alfred Powerpack.
datauri in Alfred and select the image then Enter. Now the data uri should be in your clipboard.