LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   QR code gen app (https://www.linuxquestions.org/questions/linux-software-2/qr-code-gen-app-4175618099/)

Linux_Kidd 11-21-2017 02:09 PM

QR code gen app
 
i am looking for a QR image generator app for CentOS. i need to create batches of images (QR codes) in sets of 1000. i will have a list of numbers in a file and i need to send the app every number and app creates a QR code of set size in a image format (jpg, png, bmp, gif).

anyone know of such app?

does this one work ok?
https://fukuchi.org/works/qrencode/index.html.en

michaelk 11-21-2017 04:42 PM

I'm running CentOS 6 and just installed it from the epel repository which has version 3.4.2. Seems to work fine with a quick test although there are known bugs as described in the change logs. qrencode generates a png, if you need the other formats then you can create them using convert which is part of imagemagick.

You should be able to compile it from source and you can write a script to generate batches of qrcodes.

Linux_Kidd 11-21-2017 04:56 PM

Quote:

Originally Posted by michaelk (Post 5783573)
I'm running CentOS 6 and just installed it from the epel repository which has version 3.4.2. Seems to work fine with a quick test although there are known bugs as described in the change logs. qrencode generates a png, if you need the other formats then you can create them using convert which is part of imagemagick.

You should be able to compile it from source and you can write a script to generate batches of qrcodes.

i tried qrencode install on my centOS 6.8 and configure keeps failing libpng check. not sure why, all that stuff is installed.

cli for the utility has -t EPS option. that works for me, but PNG is easier for printer person.

michaelk 11-21-2017 05:05 PM

I didn't mention that the default is PNG but version 3.4.2 can output PNG,EPS,SVG,ANSI,ANSI256,ASCII,ASCIIi,UTF8 or ANSIUTF8 formats.

Did you install from a repository or source?

Linux_Kidd 11-21-2017 05:51 PM

i installed from source, but my issue was PKG_CONFIG_PATH was not a env variable. libpng.pc is in /usr/local/lib/pkgconfig and configure doesnt look here by default !!

all fixed now. now i can just read a line from file and send it to the qr binary via script.

michaelk 11-21-2017 06:22 PM

Very good...


All times are GMT -5. The time now is 10:31 PM.