# When certain images are uploaded, Discourse adds a solid background to them

**URL:** https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811
**Category:** Support
**Created:** [July 6, 2023, 8:37pm UTC](https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811 "2023-07-06T20:37:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [July 6, 2023, 8:37pm UTC](https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811/1 "2023-07-06T20:37:36Z")

</div>

On a forum I help run, I decided to upload a calculator for an emoji. Upon uploading, Discourse made the transparent background solid white. Why did this occur, and is there a workaround?

> **Image for reference**
>
> ![TI-84Plus_CE](https://global.discourse-cdn.com/meta/original/4X/3/0/c/30cee0ba3c06809e0c8f7ef91752077558de7472.jpeg)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [July 6, 2023, 9:02pm UTC](https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811/2 "2023-07-06T21:02:51Z")

</div>

> [@Auto convert upload to JPG?](https://meta.discourse.org/t/auto-convert-upload-to-jpg/258309):
>
> I have noticed that some image uploads always convert to jpeg, this creates ugly situations with images with transparent elements and dark/light mode. I couldn’t find a setting for this, can we somehow turn this off? I’ve tried uploading an image in webp, png and it always converts it to jpg, how so?

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [July 7, 2023, 11:18pm UTC](https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811/3 "2023-07-07T23:18:47Z")

</div>

Thanks for that, I temporarily set the `png to jpg` quality to 100 while I uploaded the image, and it left the background intact. Restored to default now, will bookmark this for myself in the future.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 6, 2023, 11:19pm UTC](https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811/4 "2023-08-06T23:19:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
