• 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: Scanning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scanning


  • Subject: Re: Scanning
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 17 Nov 2009 10:41:05 -0700

On Nov 17, 2009, at 7:51 AM, Tom Davie wrote:

> I'm trying desperately to find where the API for scanning images is, I've
> found the Image Capture API on developer.apple.com, but I can't find a more
> recent version than one for 10.4, and none of the sample code compiles any
> more, worse the sample apps crash on launch.
>
> What should I be searching the docs for here?

For 10.6 and later, you ought to use IKScannerDeviceView, which apparently has no documentation at the time except for a few small mentions on ADC, such as  <http://developer.apple.com/mac/library/documentation/Carbon/Conceptual/ImageCaptureServicesProgrammingGuide/01Introduction/01Introduction.html>, and the comments in the header file. It really isn't that difficult to figure out on your own, actually.

For 10.5 and earlier, use ICAImportImage(). Don't call this method in Snow Leopard! Not only does it not work, but it ends up crashing at some point if you don't have GC turned on. Yes, I filed a bug.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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

References: 
 >Scanning (From: Tom Davie <email@hidden>)

  • Prev by Date: Re: CALayer Transitions
  • Next by Date: addObserver:forKeyPath:options:context: memory management in GC
  • Previous by thread: Re: Scanning
  • Next by thread: [iPhone] customizing UIView animation run background color
  • Index(es):
    • Date
    • Thread