[BUG] Disabling JPEG Compression doesn't actually disable it and exported PDFs still get compressed
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
The report gives a clean repro but no code pointers: the PDF export settings screen is where JPEG quality is set to 0, and the export path is where that value should be read. Start by locating the iOS PDF export settings view and following the quality value into the PDF generation code; check whether 0 is treated as a valid quality or falls back to a default. Done when exporting with quality 0 produces PDFs whose embedded images are not re-encoded.
Written by the indexing model from the issue text.
Description
Which app is your issue for
Document Scanner
Version
1.19.0
Build 88
What platform are you using?
iOS
OS Version
27.2.1
What happened?
I had issues with PDF export.
I started exporting PDFs but they get compressed. I thought if I disable JPEG compression, the PDF would export in the highest quality like on Doc Scanner. But I was wrong. There was still compression.
The exact steps I took to disable JPEG compression were:
Open OSS Document Scanner --> Go to Settings --> Opened PDF Export settings --> Selected JPEG Quality --> Set JPEG Quality to 0 --> See 'Image 1'.
I did these steps as the description below JPEG quality clearly states that compression will be disabled when I set it to 0. But that didn't happen.
I've adjusted image size threshold and image scale but even that doesn't solve the compression issue.
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
- Dominant language
- C++
- Stars
- 2.7k
- Forks
- 153
- Avg merge
- 9h 56m
- Merged PRs (30d)
- 121
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ossappscollective/OSS-DocumentScanner
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ossappscollective/OSS-DocumentScanner#739 ·
Maintainers usually reply within 1 day
-
android enhancement ios wallet
Difficulty 5/5 Over a week Newbie friendliness 35/100
ossappscollective/OSS-DocumentScanner#865 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 52/100
ossappscollective/OSS-DocumentScanner#864 ·
Maintainers usually reply within 1 day
-
enhancement wallet
Difficulty 5/5 Over a week Newbie friendliness 35/100
ossappscollective/OSS-DocumentScanner#863 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 56/100
ossappscollective/OSS-DocumentScanner#816 ·
Maintainers usually reply within 1 day
All issues in ossappscollective/OSS-DocumentScanner
Similar issues
-
new issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
llvm/llvm-project#245835 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 72/100
EchoTools/nevr-runtime#2823 ·
Maintainers usually reply within 1 day
-
Fix a typo in H5Centry.cPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
triton-lang/triton#12945 ·
Maintainers usually reply within 1 day
-
Releases do not move the `latest` Docker tag: the branch `30.12` is taken for the latest release branchPossibly taken @alexey-milovidov claimed this today. Opencomp-ci-infrastructure unexpected behaviour
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
ClickHouse/ClickHouse#134282 ·
Maintainers usually reply within 1 day