Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

227
Vistas
Wagtail: Add support for other image file formats

I'm using Wagtail as a simple image library, and have the requirement to support TIFF and BMP. I dug around the source code of Wagtail, and AbstractImage, WagtailImageField and Filter all seem interesting. It feels like it should be possible, but so far failed to get it working without altering Wagtail itself. Has anybody succeeded in adding support for another image file format?

I realize I could do my own conversion upon upload, but would much rather keep the originals managed by Wagtail.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

As I understand it, Wagtail relies on Willow to provide a common API, which then talks to Pillow, Wand and other python libraries for editing images.

So it's likely you'll need to make changes to Willow first, rather than directly to Wagtail.

This is was I learned when looking into adding rotation support to Wagtail - there's an open pull request on Willow from a few weeks back here:

https://github.com/wagtail/Willow/pull/52

Once that was in, I was expecting to then need to make a PR, to Wagtail myself, to add the UI.

I've shared some notes that might be help here too, where I tried to work out how images are saved, with some links to the the docs and discussion on the mailing lists. Hope that helps:

https://workflowy.com/s/FVge.PpETxYqp6D

over 4 years ago · Santiago Trujillo Denunciar

0

wagtail relies on pillow https://pypi.python.org/pypi/Pillow/2.1.0

for image manipulation. read the doc there, especially system dependencies for gif, jpeg ...

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda