Magic Cloud

An Open Source Application Generator

Magic Lambda Image

Image manipulation library for Magic, allowing you to do basic manipulation of images, in addition to generating QR codes. More specifically this project contains the following slot.

Generating a QR code

You can use the [qr.generate] slot to create a QR code. This slot returns the QR code as a MemoryStream, which allows you to return its output directly over the HTTP response object, which again will persist the QR code back as the response to the caller if you’re in a web project of some sort using Magic. The slot takes two arguments.

Below is an example of usage


After execution, the above invocation slot will contain a MemoryStream encapsulating your underlaying code. Below is an example QR code generated by the library.

QR Code

Project website

The source code for this repository can be found at, and you can provide feedback, provide bug reports, etc at the same place.

Quality gates


This project is the copyright(c) 2020-2021 of Thomas Hansen, and is licensed under the terms of the LGPL version 3, as published by the Free Software Foundation. See the enclosed LICENSE file for details.