AstroPrint / OctoPrint-AstroPrint

Connect your OctoPrint device to the AstroPrint 3D Printing Cloud
31 stars 10 forks source link

Fallback to ImageMagick (with subprocess) if PIL is not available #27

Closed depau closed 6 years ago

depau commented 6 years ago

PyPy on ARM has some troubles with Pillow (see https://github.com/fabianonline/OctoPrint-Telegram/pull/115).

This PR makes it optional: it continues to depend on it, however, if there's an ImportError, it uses ImageMagick instead.