# How to add metadata to .jpg file?

**URL:** <https://forums.unrealengine.com/t/how-to-add-metadata-to-jpg-file/373648>\
**Category:** Community & Industry Discussion\
**Tags:** images, unreal-engine, saving, question\
**Created:** [October 18, 2016, 8:26am UTC](https://forums.unrealengine.com/t/how-to-add-metadata-to-jpg-file/373648 "2016-10-18T08:26:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaidline](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gaidline/32/754668_2.png) [@Gaidline](https://forums.unrealengine.com/u/Gaidline)\
**Post date:** [October 18, 2016, 8:26am UTC](https://forums.unrealengine.com/t/how-to-add-metadata-to-jpg-file/373648/1 "2016-10-18T08:26:36Z")

</div>

I am using `FFileHelper::SaveArrayToFile()` to save .jpg image from my game. How can I add a metadata to the saving file (I want to set information about Camera)?

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [October 18, 2016, 3:03pm UTC](https://forums.unrealengine.com/t/how-to-add-metadata-to-jpg-file/373648/2 "2016-10-18T15:03:10Z")

</div>

What about creating your own `UDataAsset` that holds a reference to the tetxure and the metadata you need? You could also just save a `` file with the same name as your `jpg` with the data you need (this would work in runtime too).

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [October 18, 2016, 3:27pm UTC](https://forums.unrealengine.com/t/how-to-add-metadata-to-jpg-file/373648/3 "2016-10-18T15:27:46Z")

</div>

I think he specifically means JPEG’s EXIF meta data which stores stuff like camera specs and geolocation etc., i don’t see any reference of that in UE4 source code.
