# Check embedded pictures

**URL:** <https://community.mp3tag.de/t/check-embedded-pictures/54004>\
**Category:** Support\
**Created:** [August 8, 2021, 5:30pm UTC](https://community.mp3tag.de/t/check-embedded-pictures/54004 "2021-08-08T17:30:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)\
**Post date:** [August 8, 2021, 5:30pm UTC](https://community.mp3tag.de/t/check-embedded-pictures/54004/1 "2021-08-08T17:30:07Z")

</div>

Is there a way to query the number of embedded images?

I am also looking for a way to test the embedded image for a square aspect ratio via script. I would like to delete or load another picture via script.

How can this be done?

---

<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 8, 2021, 5:34pm UTC](https://community.mp3tag.de/t/check-embedded-pictures/54004/2 "2021-08-08T17:34:43Z")

</div>

the number of embedded picures can be queried with the property variable %\_covers%. You could create a column with it and sort by it.  
The dimensions of a picture can be seen in

| %\_cover\_height% | Cover height of first cover art in the tag of the file in pixels |
| --- | --- |
| %\_cover\_width% | Cover width of first cover art in the tag of the file in pixels |

You find more information about other variables that may be of interest in this context in the help:

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/#export)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

Or use a filter, e.g.  
%\_covers% PRESENT  
%\_covers% GREATER 1

---

<div class="post-metadata">

**Author:** ![Roland](https://community.mp3tag.de/user_avatar/community.mp3tag.de/roland/32/8001_2.png) [@Roland](https://community.mp3tag.de/u/Roland)\
**Post date:** [August 9, 2021, 5:41am UTC](https://community.mp3tag.de/t/check-embedded-pictures/54004/3 "2021-08-09T05:41:53Z")

</div>

✅ That solves my problem, I didn't knew these variables.  
Thank you. 😊

---

<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:** [September 8, 2021, 5:42am UTC](https://community.mp3tag.de/t/check-embedded-pictures/54004/4 "2021-09-08T05:42:43Z")

</div>

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