EdsDownloadThumbnail

General Canon SDK questions and discussion.
Forum rules
Note that first posts are moderated to discourage SPAM - if you are a first-time poster, it may take a day or two before your post appears.

EdsDownloadThumbnail

Postby lstevensuk » Wed Mar 10, 2010 12:08 pm



Has anyone used the EdsDownloadThumbnail successfully? I can download an image no problems but this function is returning EDS_ERR_STREAM_SEEK_ERROR.

Do I use exactly the same method as downloading an Image? i.e.

EdsGetDirectoryItemInfo
EdsCreateFileStream
EdsDownloadThumbnail

Thanks


lstevensuk
 
Posts: 4
Joined: Wed Mar 10, 2010 9:48 am

Re: EdsDownloadThumbnail

Postby FarmerDave » Thu Mar 11, 2010 1:37 am

I wrote a test app a couple of years ago to figure out the fastest way to download preview images. For some reason, I remembered EdsDownloadThumbnail to be problematic. I looked back through that old test app, and here's a comment I wrote to myself above the function that tested EdsDownloadThumbnail:

Code: Select all
' I could only ever get this to work in a narrow subset of conditions - basically, if the image was saved to the camera and then the DownloadThumbnail was
' invoked as a response to the creation of the directory item.  In that case, it sent down the "preview jpeg" of the RAW file - in the case of shooting a
' Jpeg, I got the jpeg itself, so it's probably not worth it.  Oh, and only saving to a memory stream seemed to work.


HTH,
David
*Finally* got access to EDSDK 2.7 - thank you, Canon - but geez, does it need to be this hard?
FarmerDave
Canon SDK Expert
 
Posts: 31
Joined: Thu Feb 19, 2009 1:11 pm
Location: Northern Virginia, USA

Re: EdsDownloadThumbnail

Postby lstevensuk » Fri Mar 12, 2010 3:13 pm

I thought it might be something obscure, thanks very much David saved me a lot of work!

Lee
lstevensuk
 
Posts: 4
Joined: Wed Mar 10, 2010 9:48 am


Return to General Canon SDK

Who is online

Users browsing this forum: No registered users and 1 guest