LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2024, 07:16 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,985

Rep: Reputation: 273Reputation: 273Reputation: 273
Is there a package containing a QR decoder?


I wanted to decode a QR code. I found qrencode, which encodes them, but no decoder. I built zbar, which seems to be the favorite decoder. Did I miss Slackware's?
 
Old 06-30-2024, 08:23 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,434
Blog Entries: 28

Rep: Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169Reputation: 6169
A web search for "decode qr code linux" turns up a number of articles.

This one looks like a good starting point.

I did take a look at Slackbuild.org and my search did not turn up a QR decoder.

Last edited by frankbell; 06-30-2024 at 08:31 PM.
 
Old 06-30-2024, 08:40 PM   #3
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 811

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
Quote:
Originally Posted by frankbell View Post
A web search for "decode qr code linux" turns up a number of articles.

This one looks like a good starting point.

I did take a look at Slackbuild.org and my search did not turn up a QR decoder.
Those top searches and that blog post all use zbar.

I've used zbar for barcode scanning and it works for qr codes as well. Seems like its pretty much the standard when looking for a linux solution. There is no qr code/barcode decoder packaged with Slackware afaik, just zbar on slackbuilds.org.
 
1 members found this post helpful.
Old 07-01-2024, 03:28 AM   #4
MooseCaboose
LQ Newbie
 
Registered: Jun 2024
Posts: 8

Rep: Reputation: 0
I also only use zbar, I don't think slackware has anything like that first party.
 
Old 07-02-2024, 01:12 AM   #5
shipujin
Member
 
Registered: May 2022
Location: China
Distribution: slackwareloong
Posts: 117
Blog Entries: 1

Rep: Reputation: 33
qrencode zbar
 
Old 07-02-2024, 04:58 AM   #6
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 367

Rep: Reputation: 206Reputation: 206Reputation: 206
In -current there's zxing-cpp package which contains ZXingReader and ZXingWriter CLI tools. I just tried them (never used them before):
Code:
$ ZXingWriter -size 200x200 QRCode Slackware qr.png
$ ZXingReader qr.png 
Text:       "Slackware"
Bytes:      53 6C 61 63 6B 77 61 72 65
Format:     QRCode
Identifier: ]Q1
Content:    Text
HasECI:     false
Position:   16x16 184x16 184x184 16x184 
Rotation:   0 deg
IsMirrored: false
IsInverted: false
EC Level:   L
Version:    1
 
2 members found this post helpful.
Old 07-02-2024, 05:19 AM   #7
mjolnir
Member
 
Registered: Apr 2003
Posts: 827

Rep: Reputation: 107Reputation: 107
I see this is marked solved. What solution was the answer?
 
Old 07-02-2024, 07:13 AM   #8
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,985

Original Poster
Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by audriusk View Post
In -current there's zxing-cpp package which contains ZXingReader and ZXingWriter CLI tools. I just tried them (never used them before):
Thanks! I just installed it for the first time and it worked - and gave a more-complete decode than zbar.

Quote:
Originally Posted by mjolnir View Post
I see this is marked solved. What solution was the answer?
I started the thread expecting the answer to be that there was none, because I thought I had looked enough; I was alerting Slackware's keepers to the matter, in case they cared, so it was 'solved' by raising the issue. But audriusk provided a real answer afterwards.
 
2 members found this post helpful.
  


Reply



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
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Mkfs.vfat: What was the package containing it? stf92 Slackware 4 03-04-2012 03:38 PM
installing new, patched package containing 2 extra shell scripts bweaver Debian 5 03-01-2012 11:42 AM
What is the name of the package (rpm/source) containing ./confiugre? Rampage2884 Linux - General 5 05-19-2002 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:05 AM.

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
Open Source Consulting | Domain Registration