Re: Saving jpeg data
Re: Saving jpeg data
- Subject: Re: Saving jpeg data
- From: Ken Ferry <email@hidden>
- Date: Tue, 30 Mar 2010 13:45:34 -0700
Hi John,
This would mean that you're assuming that a particular NSImageRep retrieved
from an NSImage is an NSBitmapImageRep, and it isn't.
-Ken
On Tue, Mar 30, 2010 at 1:37 PM, John Nairn <email@hidden> wrote:
> 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
>
_______________________________________________
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