Solved

Accessing Kodak Digital Camera

Posted on 2000-05-18
11
487 Views
Last Modified: 2010-04-04
I wanna write a application that can access a Kodak Digital Camera (DC 280) via the TWAIN Interface provided by the camera support driver.
Of course I'am looking for Sourcecode, but any idea or comment would also be helpful.

Thanks
0
Comment
Question by:Chelly_the_dog
11 Comments
 
LVL 9

Expert Comment

by:ITugay
Comment Utility
Hi,

There are tools to work with TWAIN in Delphi:

http://tscanner.sourceforge.net/
http://www.mcm-design.dk/

------
Igor.
0
 

Expert Comment

by:Portal
Comment Utility
Download multwain.zip from
http://members.dingoblue.net.au/~tarnawsky/multwain.zip

Its a 77k download with source code. Then add the following lines to a project

uses multiTwain;

var s : String;
begin
   s := 'c:\tempPhoto.bmp';
   TWAIN_AcquireToFilename(0,pchar(s));
end;

This will open your twain device to the camera and save the file to c:\tempPhoto.bmp from there you can do whatever you like.

You may also need to call
   TWAIN_SelectImageSource(0);
if you have selected the Camera as the default TWAIN source.

Of course you could download any twain scanning software from somewhere like www.delphipages.com or delphi super page.
0
 
LVL 3

Expert Comment

by:sburck
Comment Utility
Just an aside - Kodak supplies on their site SDKs for interfacing their cameras programatically, both with DLLs or ActiveX's (for the 280, anyway).  You have to sign up with them, but they don't really ask any intrusive questions, and download it for free.  Then, not only can you download the pictures from the camera like you could with TWAIN, you can adjust the camera, and even take the pictures from your app.
0
 

Author Comment

by:Chelly_the_dog
Comment Utility
Thanks for your comments !
I know this normal Scanner controling TWAIN stuff, what I'am looking for is to control the camera completly from the application.
I thought this is also possible with the TWAIN Interface.
If I have to use the DLL, has anyone done this before and would providde me some Sourcecode ?
0
 
LVL 3

Expert Comment

by:sburck
Comment Utility
We've done it with the 265, and are trying with the new beta version for the 290 (no luck yet).  I'll see if the management will let us release at least some of the sources - and get back to you.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:Chelly_the_dog
Comment Utility
To sburck :

That would be great.
I don't need a complete solution, just something, that helps me on the way.

Thanks
0
 
LVL 3

Expert Comment

by:sburck
Comment Utility
I'll get them out later today or tomorrow - with a warning from Kodak - the different models of cameras don't all work alike.  But it'll be a starting point, anyway.
0
 
LVL 3

Expert Comment

by:sburck
Comment Utility
Need an email address...
0
 

Author Comment

by:Chelly_the_dog
Comment Utility
Computer@Chelly-the-dog.de

Thank you very much !
0
 
LVL 3

Accepted Solution

by:
sburck earned 750 total points
Comment Utility
Sent a PAS file showing the basic hookup.  Note that we are storing the pictures using LeadTools, you can do it on any TPicture or TBitmap if you don't have Leadtools.
0
 

Author Comment

by:Chelly_the_dog
Comment Utility
Comment accepted as answer
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now