QR Code in HMG

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 1144
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 35 times
Been thanked: 68 times
Contact:

Re: QR Code in HMG

Post by andyglezl » Sun Nov 26, 2017 9:29 pm

Muchas gracias por tu tiempo. Edk

Voy a hacer la prueba con tu código, ya que yo estoy utilizando:

@ 229,007 PRINT IMAGE System.TempFolder+"CB_QRCODE.jpg" WIDTH 32 HEIGHT 32

Sirve que así no genero el archivo .jpg físico.
*------------------------------------------------------------------------------------------------------
Thank you so much for your time. Edk

I'm going to do the test with your code, since I'm using:
@ 229.007 PRINT IMAGE System TempFolder + "CB_QRCODE .jpg" WIDTH 32 HEIGHT 32

It serves so that the physical JPG file does not generate.



Y también modificaré los cambios que indicas.
*---------------------------------------------------------
And I will also change the changes you indicate.
Andrés González López
Desde Guadalajara, Jalisco. México.

edk
Posts: 450
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 134 times
Been thanked: 370 times

Post by edk » Sun Nov 26, 2017 9:35 pm

The error is due to an incorrectly calculated QR code width, resulting in an invalid jpg file.
qr.png
qr.png (8.23 KiB) Viewed 986 times

radohabjan
Posts: 96
Joined: Mon Nov 30, 2009 7:17 am
Location: Slovenia
Contact:

Post by radohabjan » Mon Nov 27, 2017 9:44 am

Thx Edk for solve problem with QR

I reported this problem already in 2015:
http://www.hmgforum.com/viewtopic.php?f ... 510#p43023
Now I don't need anymore external QR Code generator in my program.

br Rado

edk
Posts: 450
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 134 times
Been thanked: 370 times

Post by edk » Mon Nov 27, 2017 10:10 am

radohabjan wrote:
Mon Nov 27, 2017 9:44 am
I reported this problem already in 2015:
http://www.hmgforum.com/viewtopic.php?f ... 510#p43023
Wow, I haven't seen this post before. :o :shock:

Post Reply