[23] use jpg for overlays

pull/1004/head
meisnate12 2 years ago
parent 5987a992bb
commit 50d7fe0bf7

@ -1 +1 @@
1.17.2-develop22
1.17.2-develop23

@ -317,8 +317,8 @@ class Overlays:
else:
overlay_box = current_overlay.get_coordinates((canvas_width, canvas_height), box=current_overlay.image.size, new_cords=cord)
new_poster.paste(current_overlay.image, overlay_box, current_overlay.image)
temp = os.path.join(self.library.overlay_folder, f"temp.png")
new_poster.save(temp, "PNG")
temp = os.path.join(self.library.overlay_folder, f"temp.jpg")
new_poster.save(temp)
self.library.upload_poster(item, temp)
self.library.edit_tags("label", item, add_tags=["Overlay"], do_print=False)
self.library.reload(item, force=True)

Loading…
Cancel
Save