Merge pull request #4839 from Scrumplex/fix-compare-colorspaces

Define colorspaces for imagemagick comparison
This commit is contained in:
Adrian Sampson 2023-07-05 09:57:13 -07:00 committed by GitHub
commit 9481402b3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -256,6 +256,7 @@ class IMBackend(LocalBackend):
'-colorspace', 'gray', 'MIFF:-'
]
compare_cmd = self.compare_cmd + [
'-define', 'phash:colorspaces=sRGB,HCLp',
'-metric', 'PHASH', '-', 'null:',
]
log.debug('comparing images with pipeline {} | {}',

View file

@ -172,6 +172,8 @@ Bug fixes:
* :doc:`plugins/lyrics`: Fixed issue with Tekstowo backend not actually checking
if the found song matches.
:bug:`4406`
* :doc:`plugins/embedart`: Add support for ImageMagick 7.1.1-12
:bug:`4836`
* :doc:`/plugins/fromfilename`: Fix failed detection of <track> <title>
filename patterns.
:bug:`4561` :bug:`4600`