Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

167
Views
Agregar logotipo en qrcodejs

Quiero agregar mi logotipo a un código QR y estoy usando la siguiente biblioteca: Qrcodejs .

Y estoy usando el siguiente código:

 var qrcode = new QRCode(re, { text: inp.value, width: 200, height: 200, colorDark : "#5868bf", colorLight : "#ffffff", correctLevel : QRCode.CorrectLevel.H });

Investigué sobre cómo agregar un logotipo, pero obtuve los resultados para otras bibliotecas, pero solo quiero esta biblioteca.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puedes hacerlo por ti mismo:

  • Cargue el PNG generado en un lienzo
  • Dibuje su imagen en el centro exacto con un ancho y una altura de como máximo 1/3 del tamaño del código QR

Logotipo de código QR

O tratar:

 this.qrcode = new QRCode(document.getElementById('qrcode'), { logo: logoLink, text: link, width: 256, height: 256, colorDark: '#000000', colorLight: '#ffffff', correctLevel: QRCode.CorrectLevel.H, logoWidth: undefined, logoHeight: undefined, logoBackgroundColor: '#ffffff', logoBackgroundTransparent: false, });

logo

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!