Overlap an image over a QR code using Mogrify

Recently, I was working on writing a QR code generator using Elixir for one of our clients. There was a requirement to have a logo above the QRCode and it should be in the center, to identify which company’s QR code is being scanned. This post is about what I learned about using Mogrify Elixir […]

Recently, I was working on writing a QR code generator using Elixir for one of our clients. There was a requirement to have a logo above the QRCode and it should be in the center, to identify which company’s QR code is being scanned. This post is about what I learned about using Mogrify Elixir library to achieve this.
First we need to generate a QR code and store it in a image file.
Source: Codemancers