Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QR BMP raising JPEG Error #53 on client machine #7

Open
Bhavbhuti opened this issue Aug 11, 2023 · 0 comments
Open

QR BMP raising JPEG Error #53 on client machine #7

Bhavbhuti opened this issue Aug 11, 2023 · 0 comments

Comments

@Bhavbhuti
Copy link

Hi there

It sounds more like Windows related but I cannot pinpoint, the following is what happens.

  1. In my VFP application I generate a QR code using the following code
    `*** generate QR Code image
    lcQRImageFileName = FORCEEXT(goApp.AppTempFolder() + SYS(2015), "bmp")

loFBC = CREATEOBJECT("FoxBarcodeQR")

loFBC.lAutoConfigurate = .T.
loFBC.nBarColor = RGB(0, 0, 0)
loFBC.nCorrectionLevel = 2
loFBC.nMarginPixels = 5

loFBC.FullQRCodeImage(lmIRNSignedQRCode, lcQRImageFileName, 230)`

  1. I convert the BMP into base64 for using VFP command STRCONV(FILETOSTR(lcQRImageFileName), 13) for use with ReportMan report format (it is text based report meta data)

  2. The generated ReportMan file runs well on my Win11 laptop

  3. When the same process is done on a client PC we get a JPEG Error #53

  4. I bring over the same ReportMan file back to my laptop it works well without any changes and the QR Code appears well

The client has tested the same on WinXP and W10 Pro, but this error keeps coming.

Please advise on what is good in Win11 that is not on Win10 or WinXP for such generated QR codes?

Kind regards
Bhavbhuti

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant