Benches Uncategorized

15

Extracting album art images to file

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I have posted a few times on how to update ID3 tags, including art work. Now I have a question that is quite the opposite.

Is there a way to extract album art images from iTunes or ID3 tags to save to a separate file? I know I can do it one image at a time using the Copy from "selected item" image, but is there a way I can do the entire library easier? 1080 albums covers would take too long.

Message was edited by: duckredbeard

15 replies

Sign in or join Beachball Help to reply.

  1. 0

    Katrina S.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This person has written a script to do that. I haven't tried it, so can't comment on how well it works. You might be able to google others.

    http://yabb.jriver.com/interact/index.php?topic=46978.0

  2. 0

    Katrina S.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Here's a different one, it is only a start but could possibly be made into a batch file to do a whole folder?

    http://digitalpbk.blogspot.com/2007/01/extracting-embedded-album-art-in-mp3.html

    Or try pixelfumer

    http://pixelfumes.blogspot.com/2005/07/itunes-album-art-v13-released.html

    Or this one

    http://vcardenasblog.blogspot.com/2008/09/album-art-extracter-for-rockbox.html

    File Juicer if you have a mac

    http://echoone.com/filejuicer/formats/formats?f=itc

    Message was edited by: Katrina S.

  3. 0

    Robert Jacobson1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I wrote a script a while back to do this. It will save the artwork from all the
    selected tracks in iTunes to a file in the same directory as the track.

    WARNING: It doesn't do any duplicate checking. So, if you have 15 tracks on an album, and you select all of those tracks in iTunes, then you'll get 15 copies of the same picture (with different file names). So, if you want to avoid that, only select one track per album. It might be a pain to go through iTunes selecting only one track per album, but it's still better than doing it manually!

    I haven't put a bunch of error checking in the script, either. For example, if a track has multiple pieces of artwork, you may only get ONE file with the artwork for that song.

    Download this: (right-click on the link and save it).

    http://www.pobox.com/~teridon/itunesscripts/itunesextractartwork.vbs

    Select the tracks you want in iTunes, then double click on the script to run it.

    The forum TOS requires me to say: "I may receive some form of compensation, financial or otherwise, from my recommendation or link" because I have a paypal donation link on my webpage...

  4. 0

    turingtest2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Robert,

    The current script tests for iTunes version 7 & bails out. Changing the 7's to 9's as a quick hack to get it working is quite easy however.

    I don't know about the OP, but I like to have folder.jpg images in all my album folders so that it is clear what I'm looking at when I browse through my media folders. To this end I tweaked your script so that the it exports the artwork as
    Folder.jpg. I also added a test to avoid overwriting if the file already exists, though obviously the script will run much faster if only one track from each album is selected. Is it OK if I post the amended version here?

    tt2

  5. 0

    Robert Jacobson1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks, I forgot about the version check...

    I make the scripts I write GPLv2 for a reason -- feel free to modify and distribute as per that license. If you stick to the license you don't have to ask before posting ...

  6. 0

    turingtest2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Robert Jacobson1 wrote:

    Thanks, I forgot about the version check...

    I make the scripts I write GPLv2 for a reason -- feel free to modify and distribute as per that license. If you *stick to the license* you don't have to ask before posting ...

    I guess that's the tricky bit. Tweaking things for my own use is one thing, but I haven't so far bothered to decipher the licence to the point that I know exactly if or how I'm supposed to detail my amendments if I'm going to post somebody else's work that I've changed.

    My first take on an amended version of the script is at
    http://www.samsoft.org.uk/iTunes/iTunesextract_artworkmod.vbs

    A quick way to do most of the library would be to create a smart playlist with the rules *Playlist is Music* and *Track Number is 1*, select the resulting tracks and run the script. This would, however, miss out partial albums if you don't have track 1. I'll try to work out how to re-jig so that it processes all albums in the current playlist.

    tt2

  7. 0

    Robert Jacobson1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Download turingtest2's version of the script. Put it on your desktop so you can find it easily.

    http://www.samsoft.org.uk/iTunes/iTunesextract_artworkmod.vbs

    (right-click on that link, then do "Save as...")

    Select the songs in iTunes for which you want artwork extracted.

    Then, double-click on the script on the Desktop.

    The extracted artwork files will be in the same folder as the tracks.

  8. 0

    turingtest2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi there,

    A script is just a program that's still in a semi-readable format. To use it you should first download it to your computer. When the time comes to execute the script just double-click on it like you would any other program.

    The discussion went off at a possible tangent after your initial post so it might be useful if we're clear about exactly what it is you want to achieve. Robert's original script requires that you select a number of tracks in iTunes and then double-click on the script. When it runs it will save artwork with the same name as the track in the folder of each selected track. If you select multiple tracks from the same album then multiple images are produced. My modifed version saves the images as
    Folder.jpg and won't overwrite anything already there, i.e. at most one image produced per album. There was a minor error checking problem with the Robert's script which currently expects to run on iTunes 7.x but I'm guessing you'll be on 9.x by now. If you'd prefer his output format I can post an amended version. If neither script covers your needs explain exactly what it is you wish to achieve, e.g. if you want artwork for each album put into a single folder in the form *<Artist> - <Album>.<ext>* that would be quite easy to achieve.

    tt2

  9. 0

    Katrina S.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Just a few more points:

    Any script that is supposed to do something with itunes data usually requires itunes to be running.

    If itunes isn't running, you'll see some kind of error when you try to run the script.

    And conversely, if you try to close itunes while the script is running, you'll get a message along the lines "Something is using the itunes scripting interface. Are you sure you want to close itunes?"

  10. 0

    Robert Jacobson1

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Katrina S. wrote:

    Just a few more points:

    Any script that is supposed to do something with itunes data usually requires itunes to be running.

    If itunes isn't running, you'll see some kind of error when you try to run the script.

    Actually, if iTunes isn't running when you start the script, it will automatically open. 🙂

  11. 0

    argoNut

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi there,

    I have a 500 album-independent song playlist (ie, all tracks have different albums). I used the Download Album Artwork function in iTunes, and most of the downloaded images are pretty decent. I'd like to use your script to save these images (before I update them), but would prefer to file them as "Artist - Album.jpg". Have you written this script (with this modification, as mentioned in post)? And if yes, any link available? Mighty thanks to both of ya.

  12. 0

    turingtest2

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Erk, the links to the scripts are broken. Don't suppose you downloaded the .vbs or know of another source?

    tt2

  13. 0

    Katrina S.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    No, I didn't even make sure the links worked.

    I also found some Mac software that says it does the same thing...

    Message was edited by: Katrina S.

  14. 0

    duckredbeard

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    All this talk about scripts. I have no idea what I am supposed to do with a "script". Can you give me a walkthrough?

  15. 0

    Katrina S.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Then your script is more elegant than some I've used!