# Extracting Cover Art

**URL:** https://community.mp3tag.de/t/extracting-cover-art/66563
**Category:** Support
**Created:** [November 19, 2024, 10:35am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563 "2024-11-19T10:35:08Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Marmite](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@Marmite](https://community.mp3tag.de/u/Marmite)
#### Post date: [November 19, 2024, 10:35am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/1 "2024-11-19T10:35:08Z")

</div>

Hi to everyone.

I've used MP3tag quite a bit to extract the usual tags.

I have a library of music on my disk consisting of approx 5000 albums (about 61000) tracks. Every album has the cover artwork embedded into it.

I've used MP3tag to extract enough info to enable me to create a bespoke (private) set of HTML5 web pages to catalogue this collection, using a Visual Basic program I wrote to generate them.

What I need to do now is extract the cover art from each album and have it renamed with the album title. Given the amount of albums involved, I need to be able to do this on a batch basis.

The albums are stored in separate folders:  
Albums that start with the letter A are located in X:/Artists/A/ and so on.

Can this be done using MP3tag, or indeed any other utility out there?

Thanks in advance,

Kev

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 19, 2024, 10:42am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/2 "2024-11-19T10:42:27Z")

</div>

You can set a fully qualified path to store the pictures.  
The path may include text constants and property variables.  
Like e.g.

> [@Marmite](#):
>
> X:/Artists/A/

`x:\artists\$left(%albumartist%,1)\%albumartist%\%album%`

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 19, 2024, 10:43am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/3 "2024-11-19T10:43:53Z")

</div>

Have a look at the help-file:

> **[Export Cover to File – Mp3tag Documentation](https://docs.mp3tag.de/actions/export-cover/)**
>
> Documentation on the Export Cover action type that can be performed as Quick Action or as reusable workflow from Action Groups. Mp3tag is the universal Tag Editor.

So in your case:  
Action-type: Export Cover to file  
Format String: %album%

My advice: Don't limit yourself to the album name, because it can easily appear multiple times, e.g. Greatest Hits.

---

<div class="post-metadata">

### Author: ![Marmite](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@Marmite](https://community.mp3tag.de/u/Marmite)
#### Post date: [November 19, 2024, 10:55am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/4 "2024-11-19T10:55:26Z")

</div>

Ok. Thanks.  
I tried that on a single album but it doesn't tell em where the artwork is on the disk!!

---

<div class="post-metadata">

### Author: ![Marmite](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@Marmite](https://community.mp3tag.de/u/Marmite)
#### Post date: [November 19, 2024, 11:03am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/5 "2024-11-19T11:03:10Z")

</div>

Ok. Digging around I've found the xxx.png file in the same folder as the album tracks.

So x:/0/10cc/Bloody Tourists/Bloody Tourists.png

How can I make it put the artwork in a designated folder instead, such as:  
x:/covers/A/Bloody Tourists.png

I'm not familiar with the scripting and don't really know how to make a batch job of it.

Thanks

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 19, 2024, 11:04am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/6 "2024-11-19T11:04:44Z")

</div>

If you put both of the previous answers by @poster and me together, then you should get what you try to achieve.

And if you still don't the desired result, please tell us exactly what you did, preferably with screenshots.

---

<div class="post-metadata">

### Author: ![Marmite](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@Marmite](https://community.mp3tag.de/u/Marmite)
#### Post date: [November 19, 2024, 11:22am UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/7 "2024-11-19T11:22:55Z")

</div>

Right, making progress now.

Processing all the albums that start numerically in E:/Artists/0/ and using  
`E:\covers\0\%album%` works great.

However, when it catalogues E:/Artists/0/ the display grid fills up with every track on every album.

 ![tt016](https://community.mp3tag.de/uploads/default/original/3X/3/8/385898391ae29b9b5274998ed14282622a6a7654.jpeg)

Is it possible to filter it to just display a single entry for each album.

You guys are really helpful. Very much appreciated.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 19, 2024, 12:03pm UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/8 "2024-11-19T12:03:31Z")

</div>

Did you check the action that @poster linked?  
In that action you can set not to export duplictates.  
So it would not matter how many files you see in the file list, you would still only get 1 picture file.  
Alternatively, you could filter for files with track number 1 - which assumes that each album has at least such a track:  
Filter: %track% IS 1 OR %track% IS 01

---

<div class="post-metadata">

### Author: ![Marmite](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@Marmite](https://community.mp3tag.de/u/Marmite)
#### Post date: [November 19, 2024, 2:24pm UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/9 "2024-11-19T14:24:59Z")

</div>

Just did a test of the /B/ folder albums  
 ![tt017](https://community.mp3tag.de/uploads/default/original/3X/b/5/b53aee445895ef23b773b2657f0804fc7aecf4b6.jpeg)

516 albums / 7021 tracks.

Selecting every entry, it took only 7 seconds to extract 516 covert art images. Amazing. And I'm using a 12 year-old laptop running Windows 7.

I now have everything I need to complete the web pages.

Eternal thanks for all your help.

Kev

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [December 19, 2024, 2:25pm UTC](https://community.mp3tag.de/t/extracting-cover-art/66563/10 "2024-12-19T14:25:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
