Menu
  • HOME
  • TAGS

Canon EDSDK download or save image on pc?

c#,canon-sdk

This is an excerpt from an application that did. It downloads the image in memory and returns a bitmap instance with the image public Bitmap DownloadImage(IntPtr ObjectPointer) { //get information about image EDSDK.EdsDirectoryItemInfo dirInfo = new EDSDK.EdsDirectoryItemInfo(); this.Parent.Lock(this.Ref); lock (LVlock) { Error = EDSDK.EdsGetDirectoryItemInfo(ObjectPointer, out dirInfo); } this.Parent.Unlock(this.Ref); //check the...