# How to add Image into SCZ using authoring C++ API

**URL:** <https://forum.techsoft3d.com/t/how-to-add-image-into-scz-using-authoring-c-api/5194>\
**Category:** HOOPS Visualize Web\
**Created:** [July 28, 2026, 9:19am UTC](https://forum.techsoft3d.com/t/how-to-add-image-into-scz-using-authoring-c-api/5194 "2026-07-28T09:19:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fan.rong](https://avatars.discourse-cdn.com/v4/letter/f/4bbf92/32.png) [@fan.rong](https://forum.techsoft3d.com/u/fan.rong)\
**Post date:** [July 28, 2026, 9:19am UTC](https://forum.techsoft3d.com/t/how-to-add-image-into-scz-using-authoring-c-api/5194/1 "2026-07-28T09:19:13Z")

</div>

My application uses Stream Cache C++ APIs to generate SCZ file. Now there is requirement that, export Image file into SCZ file, and I am not sure how to do it.  
I checked documents, and knew that I can use Insert function to add Image into SC::Model and get ImageKey, after that, how to create an instance of ImageKey, I have no idea. Maybe my idea is totally wrong here. Or I must use Mesh, add one face, and apply Texture?  
My question is, what is the correct way to export Image to SCZ file and then Hoops viewer may show the Image properly after loading the scz file.

Thanks

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [July 28, 2026, 6:23pm UTC](https://forum.techsoft3d.com/t/how-to-add-image-into-scz-using-authoring-c-api/5194/2 "2026-07-28T18:23:38Z")

</div>

Hello,

Please have a look at the Visual Studio solution _authoring\_samples_ found in the directory:  
_HOOPS\_Visualize\_Web\_2026.X.X\authoring\libsc\examples_

You can do a search in Visual Studio for the word “imagekey” to find the relevant examples for your particular case.
