exif_data_load_data fails to load exif from WebP

Abierto
#58 6 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
c
Área
data

Línea de trabajo

Start in the C source where exif_data_load_data parses the input buffer and checks for the "Exif\0\0" APP1 prefix; the issue says WebP stores the TIFF header directly in a RIFF chunk. Reproduce by converting a JPEG to WebP with ImageMagick and loading it with the library's own tools. Done means EXIF loads from a WebP file without breaking JPEG loading, and it is unclear from the thread which container format and approach the maintainers want.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement help wanted

The title says it all. The reason is, exif_data_load_data assumes APP1 marker data, more specifically it insist, the data starts with "Exif\0\0".
In the case of WebP (and probably others, like PNG), where exif is stored in a chunk, the data starts right with the TIFF Header (byte order, followed by 42 and 0th IDF Offset).

P.S. To test and/or verify one can convert a JPEG to a WebP, using ImageMagic convert or GIMP Export As...

Lenguaje dominante
C
Estrellas
377
Forks
111
Merge medio
8 h 31 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de libexif/libexif

Todos los issues de libexif/libexif

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.