mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 20:09:35 +00:00
fixed weird issue by forcing RGB vid thumbnail
This commit is contained in:
@@ -125,7 +125,7 @@ class SearchHandler:
|
||||
new_height = width / 16 * 9
|
||||
offset = (height - new_height) / 2
|
||||
img = img.crop((0, offset, width, height - offset))
|
||||
img.save(cache_path)
|
||||
img.convert("RGB").save(cache_path)
|
||||
|
||||
def cache_dl_chan(self, all_channels):
|
||||
""" download channel thumbs """
|
||||
|
||||
Reference in New Issue
Block a user