ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Browsing images on connected camera

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
stuartclennett@gmail.com Posted - Mar 07 2019 : 13:41:33
Hi,

I have a TImageEnFolderMView that I'm using to show images on the file system. I am "driving" that from a shell treeview component (select folder in treeview and display contents in ImageEnFolderMView1.

When I have a camera connected (in my case a Canon EOS) the camera shows up in the shell treeview. When I select that folder, I use SetFolderEx() on the TImageEnFolderMView component, but I get the following:

Error trying to create file handle for "This PC\Canon EOS 400D DIGITAL\". Error code: 3.

I saw that WPD was implemented in v6.... I guess I am using the wrong component? What's the recommended way to browse a connected camera that shows up in the Windows shell?

Many thanks
Stuart

The call stack if it helps:

iexWindowsFunctions             TIEFolderWatchThread.Create
iexWindowsFunctions             TIEFolderWatch.AllocWatchThread
iexWindowsFunctions             TIEFolderWatch.Start
iexFolderMView          302  +0 TImageEnFolderMView.StartMonitoring
iexFolderMView          302  +0 TImageEnFolderMView.RefreshFileListEx
iexFolderMView          302  +0 TImageEnFolderMView.SetFolderEx


Stuart Clennett
Delphi Berlin 10.1
5   L A T E S T    R E P L I E S    (Newest First)
stuartclennett@gmail.com Posted - Mar 10 2019 : 06:59:03
Hi Nigel,

That's great; email sent to nigel at xequte.

Many thanks,

Stuart

Stuart Clennett
Delphi Berlin 10.1
xequte Posted - Mar 09 2019 : 19:37:02
Hi Stuart

If you email me, I can give you an update that allows you to request a thumbnail when using TIEPortableDevices.CopyStreamFromDevice.

I will create a new demo soon too, showing TImageEnMView navigation of a portable device (extend the functionality in the PortableDevices demo).

Nigel
Xequte Software
www.imageen.com
stuartclennett@gmail.com Posted - Mar 08 2019 : 10:42:10
Hi,

Quick question, is there a way to just get the thumbnail from the device in WPD?

At the moment I'm using the TIEPortableDevices.CopyStreamFromDevice which is then scaled down as the thumbnail.

Thanks,

Stuart

Stuart Clennett
Delphi Berlin 10.1
stuartclennett@gmail.com Posted - Mar 07 2019 : 14:54:16
Hi Nigel,

Thanks for the reply & the demo suggestion - I'll take a look

Cheers

Stuart Clennett
Delphi Berlin 10.1
xequte Posted - Mar 07 2019 : 14:46:49
Hi Stuart

At this stage, TImageEnFolderMView only supports standard Windows folders, not devices via WPD. I'll add that to the to-do list.

Take a look at the demo:

\ImageAcquisition\PortableDevices\WPDDemo.dpr

It would be fairly easy to convert that to use a TImageEnMView control instead of a TListView.



Nigel
Xequte Software
www.imageen.com