Should we switch image formats?

Aperta
#318 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Ambito
backend

Direzione di ricerca

Start by locating how PDF pages are currently converted to GIFs and where document metadata is stored; the issue names no files or tests. Compare PNG, WEBP, and AVIF, including the database field and reprocessing implications. Done means reaching a decision on the format and how existing documents will be handled.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

processing question shaping

We've been making GIFs of PDF pages forever, but it's an old format and there are newer, better options. Should we switch?

There are lots of choices: https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types

PNG feels like the obvious choice, but we should also consider WEBP or AVIF.

Legacy consideration: We'd need to add a field to the database to indicate format. Old documents aren't going to use the new formats unless they're reprocessed.

Lingua principale
Python
Stelle
55
Fork
10
Merge medio
1g 13h
PR unite (30g)
22

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MuckRock/documentcloud

Tutte le issue di MuckRock/documentcloud

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.