Is there a cocoa framework for image scanning? [closed] - cocoa

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
What options do I have for an image scanning framework on Mac OS X? I'm not looking for an OCR library. Just something that will do the actual scanning and importing to PDF or comparable format.

On Snow Leopard and later, Image Kit includes classes for scanning and importing from cameras. There's also a lower-level framework, ImageCaptureCore. Both frameworks are documented in the Image Capture Applications Programming Guide in Apple's Documentation Archive.
On Leopard, you'll have to use Image Capture, the less-documented, less-modern, less-reliable API. (This stands in contrast to the Image Capture application, which has always been great.) I hope you can require Snow Leopard.

I know this post is old but it is still very hard to find any good information about this topic on the web. Long story short .. I made a bundle (including multiple selection support) for it. Check it out (open source) on Github: https://github.com/ckteebe/SPScannerCaptureWindow

Not a framework per se but the Apple-supplied Image Capture.app, in /Applications in recent releases of OS X, supports various popular scanners and will scan to various image file formats or PDFs.

Related

How do I work with Apple OSX API with Delphi? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am confused regarding how to know what to do in order to utilize the OSX API to do whatever I want my app to do.
For example, I'd like to work with USB devices, where can I find info regarding that?
I have asked previously regarding just that, USB devices, but no one answered, and google search gives me air-thin results.
I don't know how to approach this.
Where can I find documentations or instructions or tutorials or whatever that helps me understand the OSX API implementation with Delphi?
I use Delphi XE7
The official reference for the OSX API is located in the Mac Developer Library, for usb devices you can check OSX USB Device Interface Guide.
Now the best place to learn how work with the OSX from Delphi is reading the RTL OSX code located in the Embarcadero\Studio\n.0\source\rtl\osx folder. Another great source of information is the TIndex site which is a huge collection of ordered and selected resources about Delphi programming, So you can try the OSX Section.

Xcode Download? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I just upgraded to OS X Mavericks, and I am very excited to be able to use all the new Mavericks technologies. I have just one problem: Where can I download Xcode?
It is not listed in either the updates page in the Mac App Store, or at Apple’s developer website. Please tell me that I do not have to be a paid developer-program subscriber to download this update! The real problem is not with Xcode itself, but rather with the 10.9 SDK. Without the header files in the SDK, I cannot tell what the APIs are. As I do not know what the APIs are, I cannot use any developer tool (even those not based on Objective-C).
I also noticed that Apple has not yet updated the Mac Dev Center with info for Mavericks, despite its public release. It is entirely probable that Apple is simply lagging behind with updating the developer website following today’s announcement.
Although it hadn't yet appeared under the (Mac) App Store Updates tab, I was able to search for it and update it that way.

Offline Mac OS X Developer Documentation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I would like to get all the developer documentation for offline use.
I'm using xcode mostly on my commute and mobile inet is not good enough in my area.
There were a number of questions regarding docs in general answered more or less, but I have a more specific requirement.
At the moment I only have class reference, but i would like to have documents mentioned in "Companion guides" as well. I tried to "Subscribe" to 10.5 Core Library but it doesn't seem to add anything beside the stuff that was installed with XCode. I'm using XCode 3.1.2 if that makes any difference.
What options do i have? Downloading officially/wget'ing everything/finding some obvious button in preferences?
Dash.app is a great documentation viewer that has all of Apple's docs for offline viewing (as well as tons of other frameworks/languages).
It looks as though XCode should be downloading it if setup as per this question:
Download of Cocoa API documentation

Cocoa interface to GEDCOM file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
The only full-fledged GPL Cocoa editor for GEDCOM 5.5 files (GenerationX) was last released in 2003: http://sourceforge.net/projects/generationx/
It looks unstable under Snow Leopard and would badly need a revamp.
Someone recently posted a proof-of-concept application (unrelated to GenerationX) on Google Code, but it looks like an unmaintained project:
http://code.google.com/p/cocoa-gedcom/
Is there any Cocoa developer interested in genealogy and willing to resurrect any of these projects? Or any other projects with a decent release cycle I am not aware of?
The Mac genealogy software market is dominated by pricy and feature-bloated proprietary solutions. A no-nonsense open source GEDCOM-compliant framework for Mac OS would be a blessing.
Did you check out GRAMPS? (Written in Python, using Gtk. So it doesn't look native on OSX, but works.)
There is MacPAF, but I'm not sure what the status of it is.
If you are still looking into Genealogy-Software, you might want to try the free program "Familienbande".
It's available for Mac and for Windows, free for personal use, supports GedCom and it is well maintained. I only use the German version (the developer is German) but since he has some native speaking US contributors, I assume the English version should also be usable.
The UI needs some getting used to, but for a free program, it is absolutely perfect.
Give it a try under:
http://www.familienbande-genealogie.de/en/index.html
Regards
Thomas

How do I take a screengrab of a single window using Cocoa or Carbon on OS X? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to be able to identify a single window on the user's screen and take a screen capture of it. The screen data is to be stored in memory and not written to disk.
This is already supported through the commandline tool /usr/sbin/screencapture or through the Grab utility (though their functionality is not extensive enough to justify me launching them as a subprocess).
References / Hints
nm /usr/sbin/screencapture returns private Cocoa interfaces including _CGSGetSharedWindow that appear to do this.
Third party application Snapzpro does this (but does not provide source code)
Mac OS X 10.5 introduced the Quartz Window Services API to do just this.
The first thing that came to mind was GrabFS from MacFuse. The source is here.
Command+Shift+4 to activate the screenshot selection, then tap the space bar to select the whole window.

Resources