New User? Sign Up  |  Sign In  |  Help
Barcode support and
tutorials from IDAutomation
and the community.
Click for the BBB Business Review of this Computers Hardware, Software & Services in Tampa FL
Resolved Questions

How can we provide an image to overlay on QR code.

Hi,
We use the C++ version of ID automation software to create QR codes. Now We need to place a Swiss cross on top of a QR code that complies with the Swiss QR code specification. How can we provide an image to the QR code API to place an image in the middle of the QR code?

We create a PDF output using our software and use ID automation to create a QR code.

Thanks

Operating System: Windows

Application: PDF output

07-17-19     4.6 year(s) ago    

  Report Abuse

 

Brant

Best Answer

IDAutomation offers the Center Override method that can generate symbols in the center of the QR Code without the need to overlay an image on top of the already generated QR Code. This update will be included in the 2020 QR-Code release updates, including the QR Code Font and Encoder. To obtain this update before the final release, (1) open a private support question, (2) include your order ID and (3) specify the exact component you need it for. Some components, such as compiled DLLs will take longer to provide, while others such as VBA or JavaScript code, can be provided within a few business days.

IDAutomation does not currently provide any other method to overlay images within 2D symbols. If that is necessary, I recommend implementing a process that can overlay the image after it is generated.

Posted 4.6 year(s) ago

(0)
(0)
  Report Abuse
 
Find Interesting
 
Email to Others
 
Bookmark
 
Subscribe to Answer Alert
No comments yet.     Be the first to comment.
Other Answers (2)
I believe the header fields and all other data are encoded directly and separated with the <LF> function.
To encode the LF function, enable ProcessTilde and use ~d010 for the LF.
For example, the data in the symbol on page 10 of the specification scans as:
SPC<LF>0200<LF>1<LF>CH5800791123000889012<LF>S<LF>Robert Schneider AG<LF>Rue du Lac<LF>1268<LF>2501<LF>Biel<LF>CH<LF><LF><LF><LF><LF><LF><LF><LF>3949.75<LF>CHF<LF>S<LF>Pia Rutschmann<LF>Marktgasse<LF>28<LF>9400<LF>Rorschach<LF>CH<LF>NON<LF><LF>Bill no. 3139 for gardening work and disposal of waste material<LF>EPD<ETX><CR>

Posted 4.6 year(s) ago

(0)
(0)
   Report Abuse
Thank you Brant for the reply. How can we add Swiss header fields to the QR code? What fields do we need to set?

Right now we set ErrorCorrectionLevel, Encoding mode, Version, etc. The following fields from Swiss specification are different and where do they need to be set? Or do they just go as part of the data?

The specification is here: https://www.paymentstandards.ch/dam/downloads/ig-qr-bill-en.pdf (see table 7 in section 4.3.3)

The header parts are listed below that the specification talks about. Where should we set them when calling the API? We are using a C++ ID automation package.

QR Elements Swiss QR Definition
Data Structure Element Name St. General Definition Field Definition

QRCH
+Header
Header Header
Header Data. Contains basic information about the Swiss QR
Code
Mandatory data group
QRCH
+Header
++QRType
QRType M QRType
Unambiguous indicator for the Swiss QR Code. Fixed value
"SPC" (Swiss Payments Code)
Fixed length: three-digit, alphanumeric
QRCH
+Header
++Version
Version M Version
Contains the version of the specifications (Implementation
Guidelines) in use on the date on which the Swiss QR Code
was created. The first two positions indicate the main
version, the following two positions the sub-version. Fixed
value of "0200” for Version 2.0
Fixed length: four-digit, numeric
QRCH
+Header
++Coding
Coding M Coding Type
Character set code. Fixed value 1 (indicates UTF-8 restricted
to the Latin character set)
Fixed length: one-digit, numeric

Posted 4.6 year(s) ago

(0)
(0)
   Report Abuse
Email this question link to friends
You must enter an email address, if name is entered or vice-versa for each friend.
Friend #1 -
Friend #2 -
Friend #3 -
Friend #4 -
Friend #5 -
  Your comment on this question
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allows to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must starts with "http://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always starts with " http:// ")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 Characters are allowed. Current Count: 0
  Your comment on this answer
  |         |  
bold  italic  underline  strike       big  small       superscript  subscript 
  Allow you to add a link. Added links would only be converted to actual clickable link, when the domain of the link is white-listed by administrator.
Caption :
Link URL :
(Must start with "http://" or "https://")
Add  |   Cancel
  Allow to insert an image. Must be among the following file types - *.jpg, *.gif, *.png & *.bmp.
Image Url :   Upload New
(Image url must always start with "http://" or "https://")
Width : pixels
(Must not be greater than 450px. Enter 0px for no resize)
Add  |   Cancel
  Allow to insert YouTube video. Insert the video embed code.
Embed Code :
Add  |   Cancel
Up to 5000 characters are allowed. Current Count: 0

You may answer and comment on any thread according to the Terms and Conditions.

 © Copyright 2021 IDAutomation.com, Inc., All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us
Training Videos on YouTube Join us on Google Plus Join us on LinkedIn Follow us on Twitter Like us on Facebook