Saving jpeg data
Saving jpeg data
- Subject: Saving jpeg data
- From: John Nairn <email@hidden>
- Date: Tue, 30 Mar 2010 13:37:41 -0700
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 (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