Skip to content

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

@Bhavbhuti

Description

@Bhavbhuti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions