Welcome Guest

Pages: 1
Creating standalone image from embedded image
SnowdogPostJune 5, 2025, 08:52
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicCreating standalone image from embedded image

Hi there.

Okay, this is the one I think might be tricky (or, at the very least, hard to explain).

I have a whole load of MP3 files that have embedded cover art. (You'll notice in the screenshot that there is only one file in the folder (an MP3) but a "get info" shows it has a cover embedded.)

My general process is to take the MP3 into Yate, save the embedded image out as an full quality JPG, re-name the resulting JPG to something ending in "_Cover.jpg" then delete the embedded cover image & bring in the file I just created but there are thousands of these & I just need to speed up the process.

It doesn't really matter what the cover image is called & I guess the action will need a pattern so would it be easiest to make the image name the same as the file name but with all word spaces & full points changed to underscores, so that:

CMM 1.01 - Self-Help.mp3

becomes

CMM_1_01_-_Self-Help_Cover.jpg

or

CMM 1.02 - The Clockwork Swan.mp3

becomes

CMM_1_02_-_The_Clockwork_Swan_Cover.jpg

?

Does this sound do-able?

It doesn't matter whether or not that action re-imports the cover image after it's been created as I have an action to do that in bulk already, but it won't do any harm if it does re-import.
Image

2MR2PostJune 5, 2025, 12:53
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCreating standalone image from embedded image

(or, at the very least, hard to explain).

It's doable, there's just parts of it which hurt my head 🙂

Do you really want this done on a per file basis? I assume that you're going to load up a bunch of files. If two or more files in the same folder have the same image, do you really want the multiple Cover files produced?

Re-importing is easy but what is your logic in deleting the embedded image just to import it again? Even if the file is saved with the minimum amount of compression, there is still some quality lost. It may not be much but it is lost. Every time a jpg image is saved, something is lost. Even without the compression issue, the image is already in the file ... why delete it to re-import it. The only thing I can think of is that the image as embedded is not jpg or png and you want something more standard???? Your screenshot shows the image in a Finder Get Info. I'm assuming that the image shows up in Yate as well?

2MR2PostJune 5, 2025, 13:18
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCreating standalone image from embedded image

One correction on my part. If the embedded image is a jpg file, there is no further loss of quality as the existing data simply gets written out.

SnowdogPostJune 6, 2025, 11:02
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicCreating standalone image from embedded image

Those are really good questions. Now my head hurts.

In the past, I've had problems with embedded images, because Roon has overridden them for whatever reason.

I'm guessing that may be something they've fixed since I last thought about it, as my first "test" subject seems to have gone into Roon & Plex without issue.

If that's the case, we can probably mothball this one for the time being & I'll crack on, add more & keep an eye on it.

Thanks. Apologies for the sore head. 🙂

2MR2PostJune 6, 2025, 17:54
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCreating standalone image from embedded image

Never a problem 🙂

SnowdogPostJune 10, 2025, 17:18
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicCreating standalone image from embedded image

So I've been leaving the embedded sleeves & seeing how I get on. I've added dozens without a problem but today I got my first "problem child".

You'll see from the screenshots that:

1) Each folder contains a single MP3 with an embedded image.

2) That the embedded images show up perfectly well in Plex.

3) That Roon's decided to be a twat about it & not load one of the images.

🙄

I've jumped through all the hoops, reloaded it, restarted it, cleared the caches. All the hoops! But to no avail.

This is one of the reasons I'm hoping that, once I can get everything set up & can be secure in the knowledge that I can get good quality audio to my hi-fi from Plex, that I can finally dispense with Roon. (I currently only have Plex because Plexamp works really well in the car, but it does mean I have to curate two music libraries in parallel.)

Anyway, if it's just the occasional one, I can manually create the cover image but if it gets any worse, I may be asking you for an action that saves out the embedded images & renames them. 😆
Image
Image
Image

2MR2PostJune 10, 2025, 17:47
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicCreating standalone image from embedded image

Hmmm... I've never had issues with artwork in my Roon testing.

Is there anything strange about the embedded artwork item? Right click on the image in a Yate artwork well and select Get Info. Perhaps the image has a strange resolution or is a progressive jpg. Lot's of applications do not like progressive images. Try saving the image to the folder as folder.jpg. This can also be done from the context menu.

SnowdogPostJune 10, 2025, 18:43
Pro
Posts: 361
Registered:
March 15, 2022, 17:12
Normal topicCreating standalone image from embedded image

Yes, it turns out the image was over 4000 pixels square, so I had to downsize it.

I've encountered images that exceeded the maximum size for FLACs before but, as I've always saved out the images for MP3s & never left them embedded, I'd not encountered this before.

It does throw some shade over the posibillity of an action, if I need to look at the MP3 cover images on a case by case basis. I guess the action being triggered by the size of the image could work, but unless it happens more frequently, it probably still isn't worth worrying about.

I guess this may be the reason I've had this problem in the past.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.067 seconds.