Solved

Accessing Kodak Digital Camera

Posted on 2000-05-18
11
489 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
ID: 2820756
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
ID: 2820760
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
ID: 2820896
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
ID: 2821175
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
ID: 2821399
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Chelly_the_dog
ID: 2832497
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
ID: 2832538
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
ID: 2833491
Need an email address...
0
 

Author Comment

by:Chelly_the_dog
ID: 2844128
Computer@Chelly-the-dog.de

Thank you very much !
0
 
LVL 3

Accepted Solution

by:
sburck earned 750 total points
ID: 2844175
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
ID: 2844247
Comment accepted as answer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

18 Experts available now in Live!

Get 1:1 Help Now