> This has been a known issue and was supposedly fixed in Snow Leopard - are you > running 10.5 by any chance? If you are running Snow Leopard, I would recommend > filing a radar at http://bugreport.apple.com. > > - Joel > > On Nov 13, 2009, at 12:13 PM, Trygve Inda wrote: > >>> You might try checking NSImage's -isValid after loading it. >>> >>> - Joel >>> >>> On Nov 13, 2009, at 11:23 AM, Trygve Inda wrote: >> >> isValid returns YES >> >> Immediately afterwards calling >> >> [image drawInRect:myRect fromRect:imageRect operation:NSCompositeCopy >> fraction:1.0]; >> >> Send this to the console: >> >> <Error>: Corrupt JPEG data: premature end of data segment >> >> The image IS corrupt, but I see no way to detect it. >> >> What a pain. >> >> Trygve >> >> > >
Yes, this is on 10.6. I'll file a bug. T. _______________________________________________ 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