Re: ImageCapture API versions
Re: ImageCapture API versions
- Subject: Re: ImageCapture API versions
- From: Thomas Engelmeier <email@hidden>
- Date: Wed, 21 May 2008 15:01:00 +0200
Am 20.05.2008 um 21:44 schrieb Randall Meadows:
On May 20, 2008, at 1:26 PM, Matt Long wrote:
It's included for 10.5. I don't think you want Image Capture for
your app, though as this API is mainly for downloading images from
the camera after a photo shoot. I don't believe there is any
mechanism for causing the picture to be taken (from a button click
in your app for example).
Actually, that's not (always) true...I use the ICA to do this with a
Nikon (D200) camera, though the same code does NOT work on a Canon
(40D), so your milage may vary depending on the hardware.
I'm not surprised. While the native Nikon vs. Canon frontends seem to
have similar functionality, the PTP implementation in the DSLRs is
completely different.
Nikon has a implementation of core features and properties that is
more straightforward and does some heavy lifting behind the scenes
(access to all camera properties) with few commands and many
properties missing in the PTP descriptor.
E.G. property changes need to be polled with an undocumented command.
Canon OTOH declares all properties, events and commands but quite a
lot of them are custom - also for getting and setting internals, even
though it seems one could use standard commands instead.
E.G. property changes get propagated via PTP events.
Now that I think about it, I think the shutter activation worked,
but downloading the captured image did not, using ICA; I had to
resort to using the Canon SDK for that.
At least one gets the Canon SDK instead of the "we don't even bother
to respond" Nikon SDK request black hole...
Regards,
Tom_E
_______________________________________________
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