diff options
author | David Robillard <d@drobilla.net> | 2019-02-03 17:47:23 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-02-03 17:47:23 +0100 |
commit | 10c694c3d6dcfb38073d5abd96e0e8231a540fa9 (patch) | |
tree | b5d32103a56e3fc6df767892771f752286088cc9 /extra_plugins | |
parent | f6837508105e25f45b8e29d8b3a08ae187cfc7b2 (diff) | |
download | lv2site-10c694c3d6dcfb38073d5abd96e0e8231a540fa9.tar.xz |
Fix gallery generation
Some upstream library has changed to error out when trying to save RGB images
as JPEG.
Diffstat (limited to 'extra_plugins')
-rw-r--r-- | extra_plugins/gallery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra_plugins/gallery.py b/extra_plugins/gallery.py index 84d5a6f..3bde0cb 100644 --- a/extra_plugins/gallery.py +++ b/extra_plugins/gallery.py @@ -106,7 +106,7 @@ class Photo(): # TODO: Write other useful transforms here! - self.image.save(self.output_file, "JPEG") + self.image.convert("RGB").save(self.output_file, "JPEG") |