1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-04 13:54:25 -04:00

[ThumbnailsConvertor] Support conversion to png and make it the default (#333)

PNG, being a lossless format, should be a better default here compared to JPG since we won't be compressing to a lossy format and losing some of the original image data
PNG is also supported for embedding in all the formats similar to JPEG

Authored by: louie-github
This commit is contained in:
louie-github
2021-05-22 02:09:48 +08:00
committed by GitHub
parent 09f1580e2d
commit a927acb1ec
5 changed files with 25 additions and 16 deletions

View File

@@ -1253,7 +1253,7 @@ def parseOpts(overrideArguments=None):
postproc.add_option(
'--convert-thumbnails',
metavar='FORMAT', dest='convertthumbnails', default=None,
help='Convert the thumbnails to another format (currently supported: jpg)')
help='Convert the thumbnails to another format (currently supported: jpg, png)')
postproc.add_option(
'--split-chapters', '--split-tracks',
dest='split_chapters', action='store_true', default=False,