IImage & IStream Confusion | developer.brewmp.com IImage & IStream Confusion | developer.brewmp.com

Developer

IImage & IStream Confusion

Forums:

Please check out the comments from the 3.1.2 API doc. Does it mean, that one should not explicitly release the stream associated with an IImage? I got "heavy" image stuff that has passed TBT and ran, so far, years, just fine where I released the IImage first, and then the Stream explicitly.

What's the real story?

:confused:

===

IIMAGE_SetStream()

Comments:
Both IIMAGE_Release() and IIMAGE_SetStream() will release the previous stream if there is one