[FEATURE REQUEST] PDF compression by using PDF Tricks

Open
#716 0 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
android, cpp

Research direction

Start by locating the rendering-to-filesystem path in OSS-DocumentScanner and review how PDF and image outputs are produced. Compare the requested behavior with PDF Tricks, then define done as applying compression automatically during rendering without requiring manual post-processing.

Written by the indexing model from the issue text.

Description

enhancement

Is your feature request related to a problem? Please describe.
PDF and picture files too large

Describe the solution you'd like
Ability to compress PDF and images when rendering them to filesystem.

PDF Tricks app (https://github.com/muriloventuroso/pdftricks) offers open source solution for manual PDF compression, and the results are impressive. It can sometimes cut down ~50-80% of the original file size, but has to be done manually and is very tedious. It also gets overwritten on every new render.

Maybe implement its compression algorithm?

Describe alternatives you've considered
Compressing it manually, very tedious.

Additional context
Add any other context or screenshots about the feature request here.

Dominant language
C++
Stars
2.7k
Forks
153
Avg merge
9h 34m
Merged PRs (30d)
123

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ossappscollective/OSS-DocumentScanner

All issues in ossappscollective/OSS-DocumentScanner

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.