# Action to remove an embedded Album art of a certain size?

**URL:** https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818
**Category:** Support
**Created:** [November 21, 2023, 12:57am UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818 "2023-11-21T00:57:55Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![JohnIV](https://community.mp3tag.de/user_avatar/community.mp3tag.de/johniv/32/5647_2.png) [@JohnIV](https://community.mp3tag.de/u/JohnIV)
#### Post date: [November 21, 2023, 12:57am UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/1 "2023-11-21T00:57:55Z")

</div>

Hello, I am getting a batch of songs that have two embedded front cover album images, one at 500x500 and one at 700x700. I have an action that works on the higher res. and normalizes it to 600x600 (which I want to keep as the only album art in the song) but the 500x500 hangs out there and I have to manually remove it. Is there an action that can act on the that single file and its dimensions and purge it for me? 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 21, 2023, 6:54am UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/2 "2023-11-21T06:54:29Z")

</div>

unless you have not set different cover types (e.g. front and back), I see only the way to export both embedded pictures with a name that also features the width, e.g.  
`%album%_%_cover_width%`  
and then import the wider one with and action "Import cover" and the filename  
Format string: `%album%_600.jpg`  
and replace all existing embedded pictures.

---

<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 21, 2023, 7:40am UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/3 "2023-11-21T07:40:43Z")

</div>

> [@ohrenkino](#):
>
> I see only the way to export both embedded pictures with a name that also features the width, e.g.  
> `%album%_%_cover_width%`

Do you see a way to export and feature the width when there are 2 covers with different width present? Filtering for the width cannot be a solution because exporting covers with mp3tag cannot distinguish between the embeded covers without cover types set.

---

<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 21, 2023, 7:52am UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/4 "2023-11-21T07:52:14Z")

</div>

> [@poster](#):
>
> when there are 2 covers with different width present

Yes, I just tried it as you made me think.  
I have a file with 2 embedded pictures, one 353x500 the other one 500x600  
I exported the pictures with

> **[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.

and ticked "Allow duplicates"  
and format string `%album%_%_cover_width%`  
and got 2 files in the folder: myalbum\_353.jpg and myalbum\_500.jpg

Now, it should be easy to import the wider picture with an action

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

and filename: `%album%_500.jpg`

---

<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 21, 2023, 8:07am UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/5 "2023-11-21T08:07:39Z")

</div>

Thanks. I forgot the duplicates option.

---

<div class="post-metadata">

### Author: ![JohnIV](https://community.mp3tag.de/user_avatar/community.mp3tag.de/johniv/32/5647_2.png) [@JohnIV](https://community.mp3tag.de/u/JohnIV)
#### Post date: [November 21, 2023, 6:01pm UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/6 "2023-11-21T18:01:59Z")

</div>

Thanks for the suggestions. To do more of a brute force streamline, how would one craft an action to simply remove the first album art MP3Tag finds? That would actually take care of 96% of the cases for me. 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 21, 2023, 6:10pm UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/7 "2023-11-21T18:10:31Z")

</div>

Are you sure that you would hit the correct picture. Actually, it cannot be said which picture is the first one.  
You would have to delete all pictures and then import only ones that you want to keep.

---

<div class="post-metadata">

### Author: ![JohnIV](https://community.mp3tag.de/user_avatar/community.mp3tag.de/johniv/32/5647_2.png) [@JohnIV](https://community.mp3tag.de/u/JohnIV)
#### Post date: [November 21, 2023, 6:22pm UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/8 "2023-11-21T18:22:25Z")

</div>

I would be monitoring it on an album level to ensure nothing purges I don't want; all the songs have the same album art order. I just need a way to purge the first jpg in the list vs. manually right clicking it and choosing 'remove'.

---

<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 21, 2023, 6:26pm UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/9 "2023-11-21T18:26:25Z")

</div>

AFAIK, there is no way to get rid of the "first" picture with an action.  
You can remove all the pictures with an action of the type "Remove picture" and the  
field name: `picture`  
But that removes all the pictures.  
If you already have the better picture in the file system, you could import that and remove all existing covers

---

<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: [May 23, 2025, 7:04am UTC](https://community.mp3tag.de/t/action-to-remove-an-embedded-album-art-of-a-certain-size/62818/10 "2025-05-23T07:04:35Z")

</div>

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