Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Magick.NET is unable to read/write extended XMP data

Aperta
#324 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp

Direzione di ricerca

Inizia riproducendo il problema con un'immagine i cui dati XMP sono suddivisi tra più segmenti APP1 estesi, quindi confronta il comportamento con la sezione 1.1.3.1 della specifica di archiviazione XMP collegata. Traccia la gestione del profilo XMP di ImageMagick/Magick.NET e considera il problema risolto quando l'XMP esteso può essere letto e scritto correttamente.

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

Descrizione

enhancement help wanted

I've hit a problem with XMP data where the data is stored as extended XMP segments. It looks like Image Magick/Magick.NET don't read or write extended XMP data correctly and this is preventing me from reading information from the XMP profile.

I've had a read of the XMP specification (link at the bottom of this). When XMP data in an image extends beyond 64Kb, the profile is supposed to be split in to one standard segment and one (or more) extended segments, each under 64Kb in size. Each segment is variable length, and the application that writes the data is responsible for the way in which the XMP data is split across different segments.

The specification says that extended segments should be written as follow:
"Each chunk is written into the JPEG file within a separate APP1 marker segment. Each ExtendedXMP marker segment contains:

  • A null-terminated signature string of "http://ns.adobe.com/xmp/extension/".
  • A 128-bit GUID stored as a 32-byte ASCII hex string, capital A-F, no null termination. The GUID is a 128-bit
  • MD5 digest of the full ExtendedXMP serialization.
  • The full length of the ExtendedXMP serialization as a 32-bit unsigned integer
  • The offset of this portion as a 32-bit unsigned integer.
  • The portion of the ExtendedXMP"

See XMP storage specification, section 1.1.3.1 (https://wwwimages2.adobe.com/content/dam/acom/en/devnet/xmp/pdfs/XMP%20SDK%20Release%20cc-2016-08/XMPSpecificationPart3.pdf)

Lingua principale
C#
Stelle
4k
Fork
453
Merge medio
12h 54m
PR unite (30g)
3

Preparare l'ambiente

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 dlemstra/Magick.NET

Tutte le issue di dlemstra/Magick.NET

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.