# Audio with .JPG image – I'd like to extract the .jpg images in lowercase. Is this possible?

**URL:** https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810
**Category:** Support
**Created:** [June 11, 2025, 1:31am UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810 "2025-06-11T01:31:45Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 1:31am UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/1 "2025-06-11T01:31:45Z")

</div>

Hello everyone,

I sometimes receive audio files with a .JPG image. When I upload the .JPG image to my server, there's a conflict, and the image doesn't appear on the website.

When I use the Action command in Mp3tag, can I program a formula to get:

Artist-Album.jpg (Lowercase 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: [June 11, 2025, 5:12am UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/2 "2025-06-11T05:12:34Z")

</div>

As far as I understand you, you have these JPG-covers embedded in the file and want to extract them to a file.

You can do this manually with a right mouse click on the embedded picture and select "Extract Cover". The file will be saved with the scheme you have defined in `Options->Tag sources->Default file name for cover art`. The scheme has to be `%artist%-%album%`

You can also do it with an action of the type "Export cover to file" and the same scheme for "Format string for image filename".

---

<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 11, 2025, 5:39am UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/3 "2025-06-11T05:39:08Z")

</div>

> [@poster](#):
>
> The scheme has to be `%artist%-%album%`

You could expand this format string to  
`$lower(%artist%-%album%)`

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 1:06pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/4 "2025-06-11T13:06:45Z")

</div>

> [@poster](#):
>
> The scheme has to be `%artist%-%album%`

Yes, that's correct. %artist%-%album%

I used @ohrenkino's formula:  
$lower(%artist%-%album%)  
I tested it with the Actions command, as @poster told me, and it works very well.

I programmed the command in Actions (Quick), using the same formula, and it also works very well.

Thanks to @poster and @ohrenkino for the formula. 👍

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 1:43pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/5 "2025-06-11T13:43:22Z")

</div>

I ran the test very quickly, without paying attention to the full text.

At the beginning:  
Johnny Cash-Album American II Unchained (1996).JPG

With the formula  
johnny cash-album american ii unchained (1996).jpg

I notice that all the text is in lowercase. Is it possible, @ohrenkino, to have a formula for the lowercase JPG only?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 2:00pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/6 "2025-06-11T14:00:24Z")

</div>

Do you only want the three characters in the file extension (e.g. jpg) to be in lowercase?  
The other text should remain untouched?

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 2:03pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/7 "2025-06-11T14:03:14Z")

</div>

Yes @LyricsLover, that's exactly it...

---

<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 11, 2025, 2:03pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/8 "2025-06-11T14:03:58Z")

</div>

> [@Sergius](#):
>
> o have a formula for the lowercase JPG only?

The suffix (jpg) is always in lower case, when you export en embedded image. Therefore you just have to use the format string in my answer (without $lower()).

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 2:17pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/9 "2025-06-11T14:17:44Z")

</div>

Hello @poster

I tested this formula and it didn't work  
(without $lower()).

How to write the formula correctly with the following data?

%artist%-%album%  
(without $lower()).

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 2:20pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/10 "2025-06-11T14:20:37Z")

</div>

![image](https://community.mp3tag.de/uploads/default/original/3X/8/3/83c9eb2cae790529a6c1c20cdbec4e90864e9819.png)  
Don't use anything with $lower()... in this case  
As Format string only use:  
`%artist%-%album%`

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 2:52pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/11 "2025-06-11T14:52:42Z")

</div>

Hello @LyricsLover, yes, that's the formula I use.

%artist%-%album%

I have images that are extracted with

Artist-Album.JPG

If I understand correctly, there's no formula that could only lowercase the .JPG data

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 2:56pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/12 "2025-06-11T14:56:30Z")

</div>

If you use the above Action "Export cover to file" with the above Format string  
`%artist%-%album%`  
you get the extension jpg in lowercase.  
No special treatement is necessary. Just try it.

If you use another way to extract the cover picture - like drag & drop? - then you have to set the same Format string  
in File -\> Options -\> Tag Sources -\> "Default filename for cover art":  
`%artist%-%album%`

 ![image](https://community.mp3tag.de/uploads/default/original/3X/f/6/f6948b9c5504d522c999793a4e14fdb4ef7afb3a.png)  
and you get the extension jpg in lowercase.

Or do you already have cover file names with an uppercase JPG extension?  
How did you export them?

Which program have you used to get a cover filename with uppercase JPG extension?

> [@Sergius](#):
>
> I sometimes receive audio files with a .JPG image.

Do you mean you get a separated cover image file with an uppercase JPG extension in addition to your audio file?

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 3:13pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/13 "2025-06-11T15:13:34Z")

</div>

Hello @LyricsLover, I've programmed my Mp3tag. Since using this program, see my image.

Tag Sources  
%artist%-%album%

When I receive MP3 audio files, the image is always included in the audio file, and Mp3tag doesn't automatically lowercase .JPG...

 ![BSI-Mp3tag SetUp 10 copy](https://community.mp3tag.de/uploads/default/original/3X/2/d/2d33afec315723b28127a5b57c8e3be40ef0e6e5.jpeg)

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 11, 2025, 3:15pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/14 "2025-06-11T15:15:45Z")

</div>

It's possible to get an uppercase image file extension like `JPG` if the mimetype of the embedded image is something like `image/JPG` instead of `image/jpeg`.

For unknown mimetypes, I'm trying to derive the file extension from the part after `image/` (if this fails, I'm trying to inspect the image data to identify the file type).

For the cases where the image file extension is derived from the part after `image/`, it's currently not possible to manipulate the file extension, e.g., change to lowercase.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 3:17pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/15 "2025-06-11T15:17:59Z")

</div>

As a test you can add a new column to the [File List](https://docs.mp3tag.de/getting-started/main-window/#file-list) with these properties:

 ![image](https://community.mp3tag.de/uploads/default/original/3X/7/2/7243f86eb751c1e108767a75e725d1c67dd3fb85.png)  
Then you can see what @Florian means with mimetype for your embedded cover image in your audio files.

In my test case it looks like this for my 10 audio files with embedded covers:

 ![image](https://community.mp3tag.de/uploads/default/original/3X/9/2/92edba2ac3cb5e9134f2e674574fdc61b994f05f.png)  
How does it look for you and audio files with embedded cover image files that gets exported with uppercase JPG?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 3:26pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/16 "2025-06-11T15:26:48Z")

</div>

> [@Florian](#):
>
> For the cases where the image file extension is derived from the part after `image/`, it's currently not possible to manipulate the file extension, e.g., change to lowercase.

If it is really important to have all .JPG extensions in lowercase, you can use a Windows-CMD-Batchfile like this and rename all the .JPG with a double click:  
`for %%F in (*.JPG) do ren "%%F" "%%~nF.jpg"`

This would rename all `*.JPG` into `*.jpg` in the same directory as the CMD-Batchfile.  
Just copy & paste the above line into a new empty CMD-Batch with a name like `Rename_JPG_Extension_in_lowercase.cmd`

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 3:36pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/17 "2025-06-11T15:36:14Z")

</div>

Thanks @Florian for your explanation, I'm starting to understand better.

& thanks @LyricsLover for the MIME command. I didn't understand this command. It's really cool. Finally, I can see my images/JPGs before extracting them.

Here's my data, see my image:  
 ![Mp3tag MIME command (by Florian, example image by LyricsLover)](https://community.mp3tag.de/uploads/default/original/3X/0/4/04207893bbaafc1383db750dfe65ed92cfeff54f.jpeg)

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 3:43pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/18 "2025-06-11T15:43:14Z")

</div>

> [@LyricsLover](#):
>
> If it is really important to have all .JPG extensions in lowercase, you can use a Windows-CMD-Batchfile like this and rename all the .JPG with a double click...

Thanks @LyricsLover for the info, I'll do some tests...

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [June 11, 2025, 3:49pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/19 "2025-06-11T15:49:47Z")

</div>

Just for the record:  
The official standard for mimetypes lists nearly all image types in lowercase:

> **[Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml#image)**

There are currently only 2 exotic image formats with an uppercase letter in the mimetype

```auto
.jxrA image/jxrA
.jxrS image/jxrS

```

All well known image formats like

```auto
image/bmp
image/gif
image/jpeg
image/png
image/tiff
image/webp

```

are listed in all-lowercase letters.  
`image/JPG` deviates from the official standard.

---

<div class="post-metadata">

### Author: ![Sergius](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@Sergius](https://community.mp3tag.de/u/Sergius)
#### Post date: [June 11, 2025, 4:32pm UTC](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810/20 "2025-06-11T16:32:40Z")

</div>

Thanks @LyricsLover for this info, I'm surprised by this, there are legal music platforms that use audio files with .JPG images

[Next page](https://community.mp3tag.de/t/audio-with-jpg-image-id-like-to-extract-the-jpg-images-in-lowercase-is-this-possible/68810.md?page=2)
