Image-sequencer: New Add QR Module

Created on 8 Jan 2019  路  11Comments  路  Source: publiclab/image-sequencer

Please describe the problem (or idea)

Add a new module called Add QR which adds a QR code to an image like for e.g at the corner.

example:

add-qr-module

In the above GIMP image, there is QR code at the corner which links to https://github.com/publiclab/image-sequencer

This module can take a string input and output a QR code based on that.
Maybe this can help https://www.npmjs.com/package/qrcode

StartingX, StartingY and size inputs can be added in a followup later for image placement. As a simple module, this could add a QR code only to the bottom right corner.

Uses

This module can be used to add a link to an image for maybe profile pictures or even adverts.

enhancement has-pull-request module new-feature

Most helpful comment

Yeah, it is cool! I'll start working on it.

All 11 comments

GitMate.io thinks the contributors most likely able to help are @jywarren, and @ccpandhare.

Possibly related issues are https://github.com/publiclab/image-sequencer/issues/157 (Add a Contrast module), https://github.com/publiclab/image-sequencer/issues/269 (Prior steps need not re-run when a new module is added or deleted), https://github.com/publiclab/image-sequencer/issues/71 (Implement QR-Decode Module), https://github.com/publiclab/image-sequencer/issues/5 (image cropping module), and https://github.com/publiclab/image-sequencer/issues/205 (add "drag to crop" UI feature to Crop module).

GitMate.io thinks the contributors most likely able to help are @jywarren, and @ccpandhare.

Possibly related issues are https://github.com/publiclab/image-sequencer/issues/157 (Add a Contrast module), https://github.com/publiclab/image-sequencer/issues/269 (Prior steps need not re-run when a new module is added or deleted), https://github.com/publiclab/image-sequencer/issues/71 (Implement QR-Decode Module), https://github.com/publiclab/image-sequencer/issues/5 (image cropping module), and https://github.com/publiclab/image-sequencer/issues/205 (add "drag to crop" UI feature to Crop module).

@HarshKhandeparkar , you meant placing QR code in image linking to Public Labs github profile, right?

That was just an example l. What i meant was that it can take any text input and place a qr code. For example a link

Yeah, it is cool! I'll start working on it.

Awesome!!

Is this issue still open @HarshKhandeparkar ?
I would like to work on it.

@Divy123 if @lakshyabatman has not started working on this yet then sure.

@HarshKhandeparkar I have started working on the module.
Just one thing if you can help me out with image manipulation part.
I have got the qr code image data-uri then how should I attach the same to the original image.
thanks

@Divy123 you can use get-pixels to get an ndarray from a data-uri. Then you can replace pixels in the original image with the pixels in the ndarray. I don't know anything about resizing the image though. An example of getpixels can be found here where I have duplicated the original image.

Thanks for your help.
I will go through it. 馃榿

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jywarren picture jywarren  路  5Comments

harshkhandeparkar picture harshkhandeparkar  路  4Comments

harshkhandeparkar picture harshkhandeparkar  路  4Comments

jywarren picture jywarren  路  4Comments

harshkhandeparkar picture harshkhandeparkar  路  4Comments