Skip to content

Instantly share code, notes, and snippets.

@micycle1
Last active January 22, 2023 15:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micycle1/4167702052335771427c3081c4c1b697 to your computer and use it in GitHub Desktop.
Save micycle1/4167702052335771427c3081c4c1b697 to your computer and use it in GitHub Desktop.
HQ Album Art from Apple Music
  • Search for album on Apple Music.

  • Open album art image in new tab.

Example (which gives 12KB image):

https://is5-ssl.mzstatic.com/image/thumb/Music113/v4/e5/f2/6c/e5f26c29-2ab0-372b-0997-e76a2f6ce876/190295292126.jpg/316x316bb.webp

We can play around with the last few parameters to get much better resolution and quality (and change file format).

Example (14MB PNG):

https://is5-ssl.mzstatic.com/image/thumb/Music113/v4/e5/f2/6c/e5f26c29-2ab0-372b-0997-e76a2f6ce876/190295292126.jpg/9999x9999bf.png

Here^ we query with a resolution of 9999x9999. Apple will return the image in its highest possible resolution; in this case the image returned is 3000 x 3000 pixels.

JPG

JPG Quality is specified after the - parameter. Example:

  • /2000x2000-1.jpg (lowest quality)
  • /2000x2000-100.jpg (highest quality)

Also supports .DNG:

https://is5-ssl.mzstatic.com/image/thumb/Music113/v4/e5/f2/6c/e5f26c29-2ab0-372b-0997-e76a2f6ce876/190295292126.jpg/3000x3000-100.dng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment