sillsdev / sillsdev/ptx2pdf

Selecting images for web-distributed PDFs

Open
#833 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Python
Dominant language
Python
Stars
33
Forks
15
PR merge metrics
No merged PRs in 30d

Description

#832 reminds me:
At present users can exclude images tagged as only for web or app distribution (non-print media), but there are or have been licensing agreements where web-based distribution is prohibited, but physical copies is acceptable. Presumably these images would be flagged loc="p". However, at present, when creating a PDF that is intended to go up on a web-page, there is no option to remove such images.

It seems to me that rather than 'Omit pictures only meant for web or app', we should probably have something like: 'Which pictures to use:' and a select-box that gives the options 'All images', 'Only images for Print'. 'Only images for Web', 'Only allowing both Print and Web' and a (default selected) checkbox that says 'Also allow unclassified images' (or the logic could be inverted 'exclude unclassified images')

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Read issue #832 and locate the current “Omit pictures only meant for web or app” option in the PDF-generation flow. Determine how image location flags such as loc="p" are currently handled and how the proposed choices should map to them. Done means web-distributed PDFs can exclude print-only images while preserving the treatment of web-only and unclassified images.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.