# Picture for player portrait

**URL:** <https://forums.unrealengine.com/t/picture-for-player-portrait/761886>\
**Category:** Blueprint\
**Tags:** unreal-engine, Widget, Blueprint, question\
**Created:** [February 2, 2023, 5:19am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886 "2023-02-02T05:19:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewjohnson71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@drewjohnson71](https://forums.unrealengine.com/u/drewjohnson71)\
**Post date:** [February 2, 2023, 5:19am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/1 "2023-02-02T05:19:56Z")

</div>

I have a player creation screen. What I’d like to happen is when you press the accept button - it takes a picture of your character, and saves image. I’d then like to run an event that uses that image to update the player’s portrait on their HUD and in a lobby menu, etc. Any ideas? Thank you!

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 2, 2023, 8:27am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/2 "2023-02-02T08:27:07Z")

</div>

Hey there @drewjohnson71! So one way to do this would be to use a Scene Capture 2D to Render Texture to take the original shot, then export them to keep them as an asset and use that asset as a parameter for the material for on the portrait.

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

Tutorial for export/importing render texture:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/9/6c9e6649deaca5b4a56794fa2810ae39e1abeb61.jpeg "UE4 Importing and Exporting Render Targets (Save and Load) using Blueprints") ](https://www.youtube.com/watch?v=bb_yw5Cvs6k)

Render Target + Scene Capture tutorial:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/2/752e94c3db60e76032478b24146fafd09cb9940e.jpeg "Unreal Render Target & Scene Capture 2D") ](https://www.youtube.com/watch?v=a9iho861SlY)

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [February 2, 2023, 8:51am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/3 "2023-02-02T08:51:15Z")

</div>

The method from @SupportiveEntity is excellent. Here is an alternative method:

I think you can use the [Screenshots Tool](https://docs.unrealengine.com/4.27/en-US/WorkingWithMedia/CapturingMedia/TakingScreenshots/) to take a screenshot and then load the image from your computer. Here is a tutorial: [Import Images During Runtime | Community tutorial](https://dev.epicgames.com/community/learning/tutorials/rZwp/unreal-engine-import-images-during-runtime)

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 2, 2023, 9:06am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/4 "2023-02-02T09:06:51Z")

</div>

Oh that’s excellent! It’s likely also more performant than render targets in this regard. However if you do updating portraits or anything similar RTs would be needed for that feature.

---

<div class="post-metadata">

**Author:** ![drewjohnson71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@drewjohnson71](https://forums.unrealengine.com/u/drewjohnson71)\
**Post date:** [February 3, 2023, 3:32am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/5 "2023-02-03T03:32:10Z")

</div>

thank you!

---

<div class="post-metadata">

**Author:** ![drewjohnson71](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@drewjohnson71](https://forums.unrealengine.com/u/drewjohnson71)\
**Post date:** [February 3, 2023, 3:32am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/6 "2023-02-03T03:32:35Z")

</div>

@SupportiveEntity thank you!

---

<div class="post-metadata">

**Author:** ![AlphaDeltaChair1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlphaDeltaChair1](https://forums.unrealengine.com/u/AlphaDeltaChair1)\
**Post date:** [November 25, 2024, 5:49am UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/7 "2024-11-25T05:49:12Z")

</div>

![taking pictures in game](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/5/d65cc3de00020b4d654119571eac8cadd0a48beb.png)  
Hello. I have been searching and watching videos for taking a picture in game like phasmaphobia and nothing I found seemed right for what I needed. Here is what I figured out and it is working great!

the image above is the blueprint code in my camera that saves the pictures.  
I used a scene capture 2d for this. The camera is like a video feed but this creates a picture from it.  
You can cast to the camera in a widget blueprint and display the slate brush you create with that.  
By the way, make sure the compression settings are on HDR Compressed like in that picture. Otherwise, the picture will not display in the widget.

I hope this helps people!

 ![widget blueprint code](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/9/f197c301e3a8a89f09efe47224cea6edd1dcad5d.png)

This is the widget blueprint code

---

<div class="post-metadata">

**Author:** ![OnyeNacho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/onyenacho/32/1122220_2.png) [@OnyeNacho](https://forums.unrealengine.com/u/OnyeNacho)\
**Post date:** [March 14, 2026, 10:16pm UTC](https://forums.unrealengine.com/t/picture-for-player-portrait/761886/8 "2026-03-14T22:16:51Z")

</div>

Oh, I’m sorry. I thought this article was suppose to be about UDK development, not UE4 development. So I am at a loss as to why is this post here in the **`UDK Programming and UnrealScript`** category instead of:

**`[Development > Programming & Scripting > Blueprint]`**

Can’t you move (or repost) the thread there instead of posting off-topic threads on the UDK categories?
