My application now saves jpeg thumbnail data from an NSImage of a bit map by using

      [NSBitmapImageRep representationUsingType:properties]

selector and it works fine in Snow Leopard development. When I run the app in Tiger, however, the code fails with following selector problem in the Console:

2010-03-30 13:03:24.689 GEDitCOM II[631] start saving file at 2010-03-30 13:03:24 -0700 2010-03-30 13:03:26.738 GEDitCOM II[631] *** -[NSCachedImageRep representationUsingType:properties:]: selector not recognized [self = 0x930a8c0]

I checked and [NSBitmapImageRep representationUsingType:properties] has been available since 10.0. I don't know what NSCachedImageRep is and I did not think I created or accessed one either?

---------------
John Nairn (1-541-737-4265, FAX:1-541-737-3385)
Professor and Richardson Chair
Web Page: http://www.cof.orst.edu/cof/wse/faculty/Nairn/
FEA/MPM Web Page: http://oregonstate.edu/~nairnj




_______________________________________________

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 arch...@mail-archive.com

Reply via email to