• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Callback when OS delivers console msg for my process?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Callback when OS delivers console msg for my process?


  • Subject: Re: Callback when OS delivers console msg for my process?
  • From: Trygve Inda <email@hidden>
  • Date: Fri, 13 Nov 2009 20:13:02 +0000
  • Thread-topic: Callback when OS delivers console msg for my process?

> 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


_______________________________________________

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

  • Follow-Ups:
    • Re: Callback when OS delivers console msg for my process?
      • From: Trygve Inda <email@hidden>
    • Re: Callback when OS delivers console msg for my process?
      • From: Joel Levin <email@hidden>
References: 
 >Re: Callback when OS delivers console msg for my process? (From: Joel Levin <email@hidden>)

  • Prev by Date: Re: NSTableView and NSTextFieldCell redraw oddness when undo
  • Next by Date: Re: Callback when OS delivers console msg for my process?
  • Previous by thread: Re: Callback when OS delivers console msg for my process?
  • Next by thread: Re: Callback when OS delivers console msg for my process?
  • Index(es):
    • Date
    • Thread