# Possible to remove cover art if smaller than specific dimensions/size?

**URL:** https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936
**Category:** Support
**Created:** [June 15, 2018, 11:59am UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936 "2018-06-15T11:59:12Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![LaurenBacall](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@LaurenBacall](https://community.mp3tag.de/u/LaurenBacall)
#### Post date: [June 15, 2018, 11:59am UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/1 "2018-06-15T11:59:12Z")

</div>

Maybe I just didn't use the right search query but couldn't find if it's currently possible to tell Mp3Tag using an action to remove a file's cover art if the image dimensions are smaller than a particular width/height.

Basically there's a podcast I download that has begun using 300x300px cover art where before they embedded 512x512px art, but I can't be sure they won't go back to using the larger art again so only want to remove the art (and afterward replace manually with a larger size) if the dimensions are of the smaller art.

Is there a way to accomplish this or would it fall under a new feature suggestion?

---

<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: [June 15, 2018, 12:57pm UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/2 "2018-06-15T12:57:52Z")

</div>

As I understand you want to replace smaller cover-art with larger cover-art anyway.  
So why remove smaller cover art first?

Just sort (defining a column) or filter for the smaller cover-art, look for larger cover-art and replace the smaller ones.

---

<div class="post-metadata">

### Author: ![LaurenBacall](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@LaurenBacall](https://community.mp3tag.de/u/LaurenBacall)
#### Post date: [June 15, 2018, 1:05pm UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/3 "2018-06-15T13:05:58Z")

</div>

The thing is, I have an action I run on each episode to format the tags already, so I don't have a list of files that feature the smaller art since I process each episode weekly and they're all up to date.

I should probably also mention the cover art changes per episode, which I'd forgotten to add to the OP. Because of this just wondered if there's a way to auto remove cover art based on dimensions at all since it's an extra step currently.

Alternatively if there was an option to change the drag-and-drop behavior of cover art so that dropping an image replaced the 'Front' cover instead of adding it as another image that would also save a step. Maybe as a modifier+mouse drop like Alt+Drop to replace whatever the particular visible art is, whether front/back/etc, might be one thing to consider (unless I've missed an existing option).

---

<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: [June 15, 2018, 2:07pm UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/4 "2018-06-15T14:07:38Z")

</div>

So you need this action just to remove the cover-art of only just new incoming files?

Otherwise it should be no problem to once load all files, mark the filtered or sorted with small dimensions, right-click on the displayed cover-field in the tag-panel, and say: "Remove cover".

There is also an action-type "Import Cover from Files" which has the option to replace existing covers.

---

<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: [June 15, 2018, 2:10pm UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/5 "2018-06-15T14:10:33Z")

</div>

Probably it is actually not possible.  
The only way I see to remove a picture with an action is the "remove fields" action and the fieldname PICTURE.  
But I do not see any way to conditionally trigger this action.  
The other tweak to write `\\` or $char(0) into a field to delete it (format value) does not work for PICTURE...

---

<div class="post-metadata">

### Author: ![LaurenBacall](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/35a633/32.png) [@LaurenBacall](https://community.mp3tag.de/u/LaurenBacall)
#### Post date: [June 15, 2018, 2:41pm UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/6 "2018-06-15T14:41:17Z")

</div>

Thanks for the replies. So I guess as-is not possible yet, the way I'm doing it, though good tip by @poster about a cover art dimensions column should I need it for lists of files anytime 👍

---

<div class="post-metadata">

### Author: ![sivaram2](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sivaram2/32/7242_2.png) [@sivaram2](https://community.mp3tag.de/u/sivaram2)
#### Post date: [August 27, 2020, 9:06pm UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/7 "2020-08-27T21:06:27Z")

</div>

Hello!

I'd like to revive this thread if possible to double-check with the devs / @Florian if there has been any changes in programmatically removing or adjusting cover art.

Here are some hypothetical usecases and scripting syntax where this would be awesome to use:

- FORMAT VALUE: `PICTURE` = `$ifgreater(%cover_width%,1200,$adjustcover(JPG,1200),%PICTURE%)`

So in the pseudo-example above, I'd be trying to express: "if the album art has a width larger than 1200px, then resize as a JPEG to a max-width of 1200px, else keep it as-is".

- FORMAT VALUE: `PICTURE` = `$if($eql(1,%compilation%),,%PICTURE%)`

Here's another pseudo-example, which expresses: "if the compilation tag == 1, then remove the album art, else keep it as-is".

Having some way to wrangle cover art in the "Format Value" action type would be so powerful! Curious to know if anything like this is in the development pipeline. 🙂

Cheers,  
Aswin

---

<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: [August 28, 2020, 4:28am UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/8 "2020-08-28T04:28:35Z")

</div>

Please have a look at the changelog:  
[https://www.mp3tag.de/changelog.html](https://www.mp3tag.de/changelog.html)  
(and search for "cover" to find  
[2020-01-14] NEW: action type 'Adjust cover' to resize cover art via actions. ([#4662](https://community.mp3tag.de/t/4662), [#12512](https://community.mp3tag.de/t/12512), [#15355](https://community.mp3tag.de/t/15355), [#18061](https://community.mp3tag.de/t/18061), [#45228](https://community.mp3tag.de/t/45228))

Or have a look at the help on actions:

> **[Actions – Mp3tag Documentation](https://docs.mp3tag.de/actions/)**
>
> Documentation on Quick Actions and Action Groups that covers replace text, case conversion, tag to tag conversion, duplicate field handling, batch cover import/export, and more. Mp3tag is the universal Tag Editor.

> [@sivaram2](#):
>
> Here's another pseudo-example, which expresses: "if the compilation tag == 1, then remove the album art, else keep it as-is".

see the help on filters:

> **[Filter and Search – Mp3tag Documentation](https://docs.mp3tag.de/filter/)**
>
> Documentation on Filter and Search and keywords to form complex filter expressions. Mp3tag is the universal Tag Editor.

and on scripting functions:

> **[Scripting Functions – Mp3tag Documentation](https://docs.mp3tag.de/scripting/)**
>
> Documentation on Mp3tag's scripting functions. Mp3tag is the universal Tag Editor.

---

<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: [February 9, 2026, 12:27pm UTC](https://community.mp3tag.de/t/possible-to-remove-cover-art-if-smaller-than-specific-dimensions-size/41936/9 "2026-02-09T12:27:28Z")

</div>


