QR-code scanning for Mac OS?

2014-12-03 Thread Jens Alfke
scanning on iOS, not Mac OS. (I.e. AVCaptureMetadataOutput is an iOS-only class.) That's a roadblock for transferring data (like a private key) from an iOS device to a Mac. I've searched a bit for a Mac-compatible QR scanning library, but found nothing on Github or CocoaControls. Anyone know

Re: QR-code scanning for Mac OS?

2014-12-03 Thread Iain Holmes
device displays a QR code that the other device then reads with its camera.) It's quite easy to generate a QR code using CoreImage. The roadblock I've hit is that AVFoundation only supports QR-code scanning on iOS, not Mac OS. (I.e. AVCaptureMetadataOutput is an iOS-only class.) That's

Scanning images

2011-08-09 Thread Eric Matecki
Hello, I need to scan images into my app. Which technology should I use, it has to work from 10.5.x upwards, PPC and Intel, 32 and 64 bits. I know only of ICA. Is there something better (ICA dates back to 10.2) ? Thanks. -- Keep intel OUTSIDE my Mac ! Hiii !!! I can see Intel chips creeping

Re: Scanning images

2011-08-09 Thread Eric Matecki
Hi Tom, Yes I'm talking about scanner devices. But I don't have to support versions EARLIER than 10.5, but from 10.5 to 10.7. So is it twain or ICA ? Which one should have the longest life ? Thanks. Tom Hohensee wrote: If you are talking getting images from scanner device. You need TWAIN for

Re: Scanning images

2011-08-09 Thread Nick Zitzmann
On Aug 9, 2011, at 9:42 AM, Eric Matecki wrote: Hi Tom, Yes I'm talking about scanner devices. But I don't have to support versions EARLIER than 10.5, but from 10.5 to 10.7. So is it twain or ICA ? In our SOHO Notes product, we use: * IKScannerDeviceView if the user is using Snow

Re: Scanning images

2011-08-09 Thread Robert Tillyard
Hello, Eric, I thought that the machines I'm running it on were a range of 10.5 and 10.6 but it looks like I'm probably mistaken there. Sorry. Regards, Rob. On 9 Aug 2011, at 16:54, Eric Matecki wrote: Hi Robert, I just downloaded it, but the Build (and Runtime) Requirements are Mac OS X

Re: Scanning images

2011-08-09 Thread Eric Matecki
Hi Nick, I will try this tomorrow. Probably won't use twain, if the device isn't supported by ImageKit nor ICA, just too bad. Thanks. Nick Zitzmann wrote: On Aug 9, 2011, at 9:42 AM, Eric Matecki wrote: Hi Tom, Yes I'm talking about scanner devices. But I don't have to support versions

Re: Scanning images

2011-08-09 Thread Tom Hohensee
Ikscannerdevice (part if image kit) and its related classes is the new method going forward. There is a drop in IB solution. Double check 10.5 compatibility. Really easy. Sent from my iPhone On Aug 9, 2011, at 10:43 AM, Eric Matecki eml...@wanadoo.fr wrote: Hi Tom, Yes I'm talking about

Re: Scanning images

2011-08-09 Thread Scott Ribe
On Aug 9, 2011, at 9:14 AM, Eric Matecki wrote: Which technology should I use, it has to work from 10.5.x upwards, PPC and Intel, 32 and 64 bits. Well, TWAIN is not currently supported for 64-bit, and it's not clear that it ever will be. -- Scott Ribe scott_r...@elevated-dev.com

Re: Looking for help scanning entire drives

2011-02-23 Thread Matt Gough
I wonder if your memory issues are related to autorelease issues when using [NSDirectoryEnumerator nextObject:] If you are using enumeratorAtPath, I suggest doing you loop like this (from http://www.cocoadev.com/index.pl?NSDirectoryEnumerator): NSDirectoryEnumerator *enumerator =

Re: Looking for help scanning entire drives

2011-02-23 Thread Andreas Grosam
On Feb 23, 2011, at 7:08 AM, Laurent Daudelin wrote: I need to write an application that will scan entire drives and compare files between the 2 drives. I have already something working but in situations where there are a lot of files (hundreds of thousands), the memory consumption

Re: Looking for help scanning entire drives

2011-02-23 Thread Andreas Grosam
On Feb 23, 2011, at 12:37 PM, Andreas Grosam wrote: If there is no appropriate free or commercial tool which could solve your problem already, I would suggest the following: 1) Use a NSDictionaryEnumerator in order to recursively iterate through a specified dictionary at any volume. 2)

Re: Looking for help scanning entire drives

2011-02-23 Thread Charles Srstka
date and whether it is a *directory* ... Sorry for the mistake :) If you’re scanning the entire drive, FSCatalogSearch is likely to be a lot faster than NSDirectoryEnumerator. Charles___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

Re: Looking for help scanning entire drives

2011-02-23 Thread Laurent Daudelin
to process it, or 4) retrive file name (url), modification date and whether it is a *directory* ... Sorry for the mistake :) If you’re scanning the entire drive, FSCatalogSearch is likely to be a lot faster than NSDirectoryEnumerator. Thanks for the valuable comments, all. I was thinking, what

Re: Looking for help scanning entire drives

2011-02-23 Thread Ross Carter
On Feb 23, 2011, at 12:37 PM, Andreas Grosam wrote: If there is no appropriate free or commercial tool which could solve your problem already . . . I haven't tried it myself, but you might look at the FolderSweep source code from Rainer Brockerhoff and Matt Gemmell.

Re: Looking for help scanning entire drives

2011-02-23 Thread ronald b. kopelman
On Feb 23, 2011, at 6:41 AM, cocoa-dev-requ...@lists.apple.com wrote: I need to write an application that will scan entire drives and compare files between the 2 drives. I have already something working but in situations where there are a lot of files (hundreds of thousands), the memory

Re: Looking for help scanning entire drives

2011-02-23 Thread Greg Guerin
Laurent Daudelin wrote: I need to write an application that will scan entire drives and compare files between the 2 drives. man rsync See the --dry-run, --stats, and --progress options in particular. rsync can also run as a daemon, which may be easier than trying to control it with

Looking for help scanning entire drives

2011-02-22 Thread Laurent Daudelin
I need to write an application that will scan entire drives and compare files between the 2 drives. I have already something working but in situations where there are a lot of files (hundreds of thousands), the memory consumption becomes a problem, leading to slow performance when virtual

Scanning

2009-11-17 Thread Tom Davie
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

Re: Scanning

2009-11-17 Thread Jean-Daniel Dupas
http://developer.apple.com/mac/library/samplecode/ScannerBrowser/ Le 17 nov. 2009 à 15:51, Tom Davie a écrit : 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

Re: Scanning

2009-11-17 Thread Nick Zitzmann
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

Language based scanning

2009-10-13 Thread Nz Gmail
Hi, Is there is a way to figure out the occurance of Arabic chars so the label's alignment would be set accordingly (right to left)? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Language based scanning

2009-10-13 Thread Ricky Sharp
You probably do not want to approach things this way. Arabic is bidirectional and you may have situations where you have a mixture of languages. What you should look at instead is to just localize your app to Arabic. In the Arabic version of your nibs, make the necessary adjustments.

Re: Language based scanning

2009-10-13 Thread John Joyce
Language based scanning To: cocoa-dev@lists.apple.com cocoa-dev@lists.apple.com Message-ID: 21331617-f39c-4f3b-8f4b-795be101a...@gmail.com Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Hi, Is there is a way to figure out the occurance of Arabic chars so

Re: Language based scanning

2009-10-13 Thread Jens Alfke
On Oct 13, 2009, at 8:35 AM, John Joyce wrote: Part of the localization process in Cocoa is to create your localized nib/xib files. This includes adjusting interface elements and layout accordingly so that it makes sense for different languages/cultures. Even some ready-made interface