C
Cy
Hi all,
Is there any way to get an IStream* object out of a BITMAP?
Some background on the problem:
I am trying to grab the EXIF data from a JPEG image from managed code.
To do this, I have created an unmanaged DLL that accepts an HBITMAP
passed in via IntPtr. From the HBITMAP I am able to create a BITMAP
object. In order to access the data I am using IImageDecoder-
I am basing my code on:
http://www.pocketpcdn.com/articles/...=57&atb.set(a_id)=6211&atb.perform(details)=&
Thanks for any help!
Is there any way to get an IStream* object out of a BITMAP?
Some background on the problem:
I am trying to grab the EXIF data from a JPEG image from managed code.
To do this, I have created an unmanaged DLL that accepts an HBITMAP
passed in via IntPtr. From the HBITMAP I am able to create a BITMAP
object. In order to access the data I am using IImageDecoder-
requires an IStream* which for the life of me I can't get.GetPropertyItem, but IImageFactory->CreateImageDecoder function
I am basing my code on:
http://www.pocketpcdn.com/articles/...=57&atb.set(a_id)=6211&atb.perform(details)=&
Thanks for any help!