Skip to content

emptyColor #210

Open
Open
@jcarvalhogo

Description

@jcarvalhogo

Hi theyakka, I'm using your lib to generate qrcode, I'm using the QrPainter class to create the qrcode and getting the BufferByte to save it to file.

I have the following problem, if I don't use emptyColor the saved image has a black background.

Code:
image

image

Code:
image
image

however the emptyColor attribute is deprecated, what alternatives do I have to replace the emptyColor attribute while maintaining the same result?

I am grateful in advance for your attention

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions