On Thu, May 22, 2008 at 12:58 PM, Daniel Thorpe <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to