Home | About us | Overview | Softwares - Downloads | Evaluate | Order | Support | old forums | Contact | F.A.Q. | Documentations | Search | Sitemap

Navigating Camera's Stored Images

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

Navigating Camera's Stored Images

Postby JmunsonII on Wed Oct 01, 2008 2:26 am

Namaste!

Is it possible to navigate through a camera's stored images? If so, please point me to a sample or the proper function(s).

Thanks!

Peace, Love, and Light,

/s/ Jon C. Munson II
JmunsonII
 
Posts: 4
Joined: Mon Aug 04, 2008 7:09 pm

Re: Navigating Camera's Stored Images

Postby Loïc on Thu Oct 02, 2008 3:56 pm

Hi,
You can try to acquire all stored image using this code:

Code: Select all
Imaging1.TwainSetAutoFeed (True)
Imaging1.TwainSetAutoScan (True)
While Imaging1.TwainAcquireToGdPictureImage(Me.hWnd) <> 0
    nImageID = Imaging1.GetNativeImage
    'Here do something with Image
    Imagin1.CloseImage(Image)
Wend


Best regards,

Loïc
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France

Re: Navigating Camera's Stored Images

Postby JmunsonII on Thu Oct 02, 2008 4:11 pm

Namaste!

Thank you for the reply.

So, if I read this correctly, calling GetNativeImage advances to the next image in the device?

Is there a "move previous" sort of function? Is there a move first, last, etc.?

The reason I ask is most users probably have many pictures on a camera, and forward-only movement may be rather cumbersome. But, if that is all there is, that's all there is...

Thanks!

Peace, Love, and Light,

/s/ Jon C. Munson II
JmunsonII
 
Posts: 4
Joined: Mon Aug 04, 2008 7:09 pm


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 0 guests