mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[33] fix image coords
This commit is contained in:
parent
f4672f5654
commit
e7e3372ed4
2 changed files with 2 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.17.0-develop32
|
||||
1.17.0-develop33
|
||||
|
|
|
@ -250,7 +250,7 @@ class Overlays:
|
|||
overlay_image, overlay_box = overlay.get_backdrop((canvas_width, canvas_height), box=overlay.image.size, new_cords=cord)
|
||||
new_poster.paste(overlay_image, (0, 0), overlay_image)
|
||||
else:
|
||||
overlay_box = (cord[1], cord[3])
|
||||
overlay_box = overlay.get_coordinates((canvas_width, canvas_height), box=overlay.image.size, new_cords=cord)
|
||||
new_poster.paste(overlay.image, overlay_box, overlay.image)
|
||||
temp = os.path.join(self.library.overlay_folder, f"temp.png")
|
||||
new_poster.save(temp, "PNG")
|
||||
|
|
Loading…
Reference in a new issue