You might try checking NSImage's -isValid after loading it.
- Joel
On Nov 13, 2009, at 11:23 AM, Trygve Inda wrote:
> I use:
>
> imageWithContentsOfFile:@"a.jpg"
>
> And sometime it generates a console message:
>
> Corrupt JPEG data: premature end of data segment
>
> How can I use an observe
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'
http://jobs.apple.com/index.ajs?BID=1&method=mExternal.showJob&RID=42178&CurrentPage=1
Apple's Internet Technology System's has an immediate opening for Sr Software
Engineer (iPhone Development). Our group's focus is on design and development
of web and mobile solutions for all business areas. T