Benutzerspezifische Werkzeuge
Sie sind hier: Startseite Documentation FAQs

Why doesn't PIL (Python Imaging Library) open my PNGs?

Artikelaktionen
Zum Inhaltsverzeichnis
Why doesn't PIL (Python Imaging Library) open my PNGs?

PIL does not support interlaced PNGs at this time (no timetable on when it actually will either). To be able to read PNGs in PIL, they must not be interlaced. Modify your OUTPUTFORAT with a FORMATOPTION like so:

OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE RGB
  EXTENSION "png"
  FORMATOPTION "INTERLACE=OFF"
END

Diese FAQ betrifft: MapServer 4.0, MapServer 4.2, MapServer 4.4, MapServer 4.6, MapServer 4.8

von Howard ButlerZuletzt verändert: 29.11.2005 20:57
 

Powered by Plone