LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2017, 02:09 PM   #1
Linux_Kidd
Member
 
Registered: Jan 2006
Location: USA
Posts: 593

Rep: Reputation: 62
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

Last edited by Linux_Kidd; 11-21-2017 at 02:12 PM.
 
Old 11-21-2017, 04:42 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,422

Rep: Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103
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.
 
Old 11-21-2017, 04:56 PM   #3
Linux_Kidd
Member
 
Registered: Jan 2006
Location: USA
Posts: 593

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by michaelk View Post
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.
 
Old 11-21-2017, 05:05 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,422

Rep: Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103
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?
 
Old 11-21-2017, 05:51 PM   #5
Linux_Kidd
Member
 
Registered: Jan 2006
Location: USA
Posts: 593

Original Poster
Rep: Reputation: 62
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.
 
Old 11-21-2017, 06:22 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,422

Rep: Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103Reputation: 3103
Very good...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3rd gen CPU in a 2nd Gen Laptop Motherboard benifits are? BW-userx Linux - Hardware 4 05-18-2016 02:56 PM
LXer: Got Code? App Challenge LXer Syndicated Linux News 0 04-19-2013 11:31 AM
Is there an app to annotate source code? map250r Programming 4 05-12-2010 01:24 AM
using the source code to learn about an app stabu Programming 4 01-24-2009 11:08 AM
How to call an app from my c++ code? Puckaroo Programming 1 10-30-2006 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration