Re: Setting iTunes album art with ScriptingBridge
Re: Setting iTunes album art with ScriptingBridge
- Subject: Re: Setting iTunes album art with ScriptingBridge
- From: Jens Alfke <email@hidden>
- Date: Fri, 23 May 2008 08:06:50 -0700
On Thu, May 22, 2008 at 12:58 PM, Daniel Thorpe <email@hidden>
wrote:
However after reading this thead, it seems that it isn't really
feasable (if
someone has managed to do it correctly - then that would be great!)
So, it
looks like I've got to use AppleScript... which I've never really
had much
luck with...
I must have missed the earlier messages. I don't know of any reason
you couldn't send album art to iTunes using the SB APIs. (I haven't
done this, but I've retrieved album art this way, and I've sent it
using AppleScript.)
The biggest issue with the album art is simply getting the image into
PICT format, since last I checked, iTunes won't accept any other
format. Unfortunately NSImage can read but not generate PICT. The only
way I found to do it was to use <ick> QuickDraw APIs to create a
GWorld, then draw the NSImage into it, and then create a PICT from the
GWorld.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden