# PNG converted to JPG? :(

**URL:** https://meta.discourse.org/t/png-converted-to-jpg/74438
**Category:** Bug
**Created:** [20 november 2017 om 17:05 UTC](https://meta.discourse.org/t/png-converted-to-jpg/74438 "2017-11-20T17:05:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [20 november 2017 om 17:05 UTC](https://meta.discourse.org/t/png-converted-to-jpg/74438/1 "2017-11-20T17:05:39Z")

</div>

Hi all!

I’m back. Once before we fixed some problems we had with metadata being stripped from uploaded images.

Normally this wouldn’t be a problem, but we have a wonderful photography-oriented community over at [discuss.pixls.us](http://discuss.pixls.us) that relies on that metadata being available for various reasons. @zogstrip fixed it super-fast which was awesome!

Now, however, we have a slightly different problem. While working out issues around bit-depths and color-management we’ve stumbled upon a nasty showstopper for us. PNG files are getting converted to JPG files! ☹

Note, this isn’t a problem for thumbnails/resized/lightboxed versions of an image - I understand why that would be done and think it’s a great idea. **The problem** is that the original .PNG image is converted to .JPG!

Is there any way to just leave the uploaded (original) image alone and not convert to jpg? As an example, here is [this file](https://ninedegreesbelow.com/files/linear-rec2020-radial-smooth-gradients.png), uploaded to meta:

 ![linear-rec2020-radial-smooth-gradients](https://global.discourse-cdn.com/meta/original/3X/8/4/84dff167ad2a93ef08ede8904440ebc4903d121c.jpg)

You can see if you try to download the original image again, that it’s been converted to a JPG. 😖

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [20 november 2017 om 17:10 UTC](https://meta.discourse.org/t/png-converted-to-jpg/74438/2 "2017-11-20T17:10:52Z")

</div>

Set the “`png to jpg quality`” site setting to `100` to disable that behavior 😉

---

<div class="post-metadata">

### Author: ![Patrick\_David](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrick_david/32/119657_2.png) [@Patrick\_David](https://meta.discourse.org/u/Patrick_David)
#### Post date: [20 november 2017 om 17:12 UTC](https://meta.discourse.org/t/png-converted-to-jpg/74438/3 "2017-11-20T17:12:38Z")

</div>

Oh man, thank you x1000 @zogstrip! ❤

For the record (and for anyone else like me too lazy to find this):  
 ![image](https://global.discourse-cdn.com/meta/original/3X/9/d/9de7d0db2967e9437230d61784bc04661def99fc.png)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [20 november 2017 om 17:13 UTC](https://meta.discourse.org/t/png-converted-to-jpg/74438/4 "2017-11-20T17:13:20Z")

</div>


