Skip to content

Commit b88a50b

Browse files
authored
Merge pull request #224 from twodoorcoupe/cover_processing
Add a page for cover art processing
2 parents 5e1ae97 + c24be76 commit b88a50b

File tree

3 files changed

+43
-1
lines changed

3 files changed

+43
-1
lines changed
48.6 KB
Loading

config/options_cover.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
:doc:`options_location` /
2020
:doc:`options_cover_art_providers` /
2121
:doc:`options_cover_art_archive` /
22-
:doc:`options_local_files`
22+
:doc:`options_local_files` /
23+
:doc:`options_cover_art_processing`
2324

2425
.. toctree::
2526
:hidden:
@@ -28,3 +29,4 @@
2829
options_cover_art_providers
2930
options_cover_art_archive
3031
options_local_files
32+
options_cover_art_processing
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. MusicBrainz Picard Documentation Project
2+
3+
:index:`Cover Art Processing <pair: configuration; cover art>`
4+
===============================================================
5+
6+
.. image:: images/options-cover-processing.png
7+
:width: 100 %
8+
9+
Picard can filter and process the images downloaded from the providers. Image processing can differentiate between images
10+
embedded into tags and images saved as a separate file. More filters and processors can be added by `plugins
11+
<https://picard.musicbrainz.org/plugins/>`_.
12+
13+
**Discard images if below the given size**
14+
15+
This filter will discard any image with its width or its height lower than the given values. With some providers,
16+
like the Cover Art Archive, the image is discarded before it is downloaded.
17+
18+
**Resize images to the given size**
19+
20+
Images can be scaled to the given dimensions. You can also choose whether to allow images to increase in size, though
21+
at a loss of image quality. There are a few options as to how images are resized:
22+
23+
* **Maintain aspect ratio**: Scale the source image so that it fits within the target dimensions. One of the final
24+
image dimensions may be less than the target dimension if the source image and target dimensions have different aspect
25+
ratios.
26+
27+
* **Scale to width**: Scale the width of the source image to the target width while keeping aspect ratio.
28+
29+
* **Scale to height**: Scale the height of the source image to the target height while keeping aspect ratio.
30+
31+
* **Crop to fit**: Scale the source image so that it completely fills the target dimensions in both directions.
32+
If the source image and target dimensions have different aspect ratios, then there will be overflow in one direction which
33+
will be (center) cropped.
34+
35+
* **Stretch to fit**: Stretch the image to exactly fit the specified dimensions, distorting it if necessary.
36+
37+
**Convert images to the given format**
38+
39+
Images can be converted to the given format. The available formats are JPEG, PNG, WebP, and TIFF.
40+

0 commit comments

Comments
 (0)