# What's the best file format for Textures? (Optimisation etc...)

**URL:** <https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095>\
**Category:** Rendering\
**Tags:** Optimization, unreal-engine, question\
**Created:** [February 29, 2016, 4:54pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095 "2016-02-29T16:54:22Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeyBGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MikeyBGames](https://forums.unrealengine.com/u/MikeyBGames)\
**Post date:** [February 29, 2016, 4:54pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/1 "2016-02-29T16:54:22Z")

</div>

Hello Everyone!

Just a quick question, I’m in the process of developing my first game, I had always used JPEGs as my general file format for Textures.

**Does this matter? What is the most optimised (best) file format to use in UE4?**

Thanks for any help!

Mike

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [February 29, 2016, 5:27pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/2 "2016-02-29T17:27:42Z")

</div>

.jpg isnt the way to go, as it already has compression.  
Combine with with ue4’s own compression and you will end up with images that are compressed twice.  
The best file format is .png, but that cant contain alpha.  
In that case .tga (32 bit) will work if you need alpha’s.

If you want to go all out though, .psd also works 🙂

---

<div class="post-metadata">

**Author:** ![MikeyBGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MikeyBGames](https://forums.unrealengine.com/u/MikeyBGames)\
**Post date:** [February 29, 2016, 5:59pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/3 "2016-02-29T17:59:07Z")

</div>

Do you know which format is the most efficiently rendered? Or are they all rendered in the same way?

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [February 29, 2016, 7:17pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/4 "2016-02-29T19:17:04Z")

</div>

They will be compressed to an internal file type anyways, so the best way to go is as compressionless as possible. In that case .PNG is probably the best as I said before, unless you really need an alpha, then TGA is great.

---

<div class="post-metadata">

**Author:** ![MikeyBGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MikeyBGames](https://forums.unrealengine.com/u/MikeyBGames)\
**Post date:** [February 29, 2016, 7:20pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/5 "2016-02-29T19:20:52Z")

</div>

Thanks so much for the help! I appreciate it!

---

<div class="post-metadata">

**Author:** ![ScottSpadea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottspadea/32/1194682_2.png) [@ScottSpadea](https://forums.unrealengine.com/u/ScottSpadea)\
**Post date:** [February 29, 2016, 8:18pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/6 "2016-02-29T20:18:11Z")

</div>

i have been using .png textures with alpha channels, and they work just fine in ue4.

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [March 1, 2016, 12:03pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/7 "2016-03-01T12:03:19Z")

</div>

Then you gotta show your workflow, because .PNG and alpha is messed up, especially if the alpha has nothing to do with the image itself. (i.e. 4 cloud textures in rgba)

> **[PNG with Alpha: How do you get them to work?](https://forums.unrealengine.com/showthread.php?15102-PNG-with-Alpha-How-do-you-get-them-to-work)**
>
> This is a totally basic question that has me banging my head against the wall. I am not a noob when it comes to image channels and all…which is probably the source of the issue. I have a bunch of wonderfully small png files that I want to use as...

So if you have a way to make alpha in png always work, I’d really like to know 🙂

---

<div class="post-metadata">

**Author:** ![ScottSpadea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottspadea/32/1194682_2.png) [@ScottSpadea](https://forums.unrealengine.com/u/ScottSpadea)\
**Post date:** [March 6, 2016, 9:37pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/8 "2016-03-06T21:37:08Z")

</div>

.PNG alphas work fine, its photoshop’s PNG exporter that seems to be your problem. i use Gimp instead of photoshop, and it exports transparent PNGs without any special workflow, and they import into ue4 without any problems.

try importing this into UE4, it should work fine:

 ![81188-test.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/e/d/8edda614d5236b469b9d05fe91f0d0f3a73ec03d.png)

---

<div class="post-metadata">

**Author:** ![CanYouSeeMeToday](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CanYouSeeMeToday](https://forums.unrealengine.com/u/CanYouSeeMeToday)\
**Post date:** [May 1, 2023, 7:08pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/9 "2023-05-01T19:08:36Z")

</div>

Huh?? isn’t it the other way round? PNGs are the best for alphas and TGAs are for regular images?

---

<div class="post-metadata">

**Author:** ![ZacD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZacD](https://forums.unrealengine.com/u/ZacD)\
**Post date:** [May 1, 2023, 7:25pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/10 "2023-05-01T19:25:23Z")

</div>

Nope, PNGs have a lot of issues with alpha and 16 bit PNGs, not necessarily an issue with the format itself, but how different applications work with it.  
I use PNGs for anything without alpha, and TGA for anything with alpha.

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [May 1, 2023, 7:32pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/11 "2023-05-01T19:32:01Z")

</div>

same!

---

<div class="post-metadata">

**Author:** ![JohannesDyrbye](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohannesDyrbye](https://forums.unrealengine.com/u/JohannesDyrbye)\
**Post date:** [December 28, 2024, 2:32pm UTC](https://forums.unrealengine.com/t/whats-the-best-file-format-for-textures-optimisation-etc/349095/12 "2024-12-28T14:32:19Z")

</div>

This message saved me after hours spend on trying to figure out why my png image kept getting cropped when exporting from Photoshop. I downloaded Gimp and on export you have so many glorious options compared to Photoshop, there is literally a checkbox called “Save color values from transparent pixels.”

I was trying to do edits on an ORME map with emission data stored in the alpha value, but it kept cropping the transparent pixels no matter what export settings I chose. I even tried .tga, but that just cropped individual islands instead, so that was even worse.

Cheers man, your post from 2016 saved me!
