Loading...

Navigating Camera's Stored Images

Support for GdTwain ActiveX and GdTwain Pro ActiveX/SDK.

Navigating Camera's Stored Images

Postby JmunsonII » Wed Oct 01, 2008 1: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: 8
Joined: Mon Aug 04, 2008 6:09 pm

Re: Navigating Camera's Stored Images

Postby Loïc » Thu Oct 02, 2008 2: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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4441
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Navigating Camera's Stored Images

Postby JmunsonII » Thu Oct 02, 2008 3: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: 8
Joined: Mon Aug 04, 2008 6:09 pm


Return to GdTwain [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest