Skip to content

Conversion to PDF inverts the colors. #267

@whatever42

Description

@whatever42

Scanning worked fine. However, when I wanted to convert the resulting JPEG into a PDF, I was displayed a PDF with inverted colors (white text on black background).

Steps to reproduce

  • Scan a document (I only tried documents with black text on white background so far).
  • Open the Documents-Section (second round green button from the top)
  • Press on the newly scanned Document long, so the "Convert to PDF"-Option shows up
  • Select the "Convert to PDF" Option
  • Observe that the Colors are inverted in the displayed PDF

Expected behaviour

The PDF should look just like the JPEG that was converted.

Actual behaviour

The PDF looks like the JPEG with inverted colors (black text on white background).

Environment

I used Open Note Scanner 1.0.35-fdroid (35) on a Fairphone3+ running /e/ OS 0.21 (Android 11)

Would you like to work on the issue?

I am a Software Developer, but I never worked on Android/Fdroid before, so it would take me ages to get a Development Environment setup and running. I am hence pretty sure that you are able to fix this much faster than me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions