# 当上传某些图片时，Discourse 会添加纯色背景。

**URL:** <https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811>\
**Category:** Support\
**Created:** [2023年七月6日 20:37 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:** 1\
**Showing post:** 2

<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:** [2023年七月6日 21:02 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?u=moin):
>
> 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?

---

_[View the full topic](https://meta.discourse.org/t/when-certain-images-are-uploaded-discourse-adds-a-solid-background-to-them/270811)._
