# لماذا الافتراض بتحويل PNG إلى JPG؟

**URL:** <https://meta.discourse.org/t/why-default-to-converting-png-to-jpg/132167>\
**Category:** Feature\
**Created:** [29 أكتوبر 2019، 7:58م UTC](https://meta.discourse.org/t/why-default-to-converting-png-to-jpg/132167 "2019-10-29T19:58:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mbauman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mbauman/32/139835_2.png) [@mbauman](https://meta.discourse.org/u/mbauman)\
**Post date:** [29 أكتوبر 2019، 7:58م UTC](https://meta.discourse.org/t/why-default-to-converting-png-to-jpg/132167/1 "2019-10-29T19:58:02Z")

</div>

أفهم تمامًا (وأقدر!) أن هذا مُعرَّض كإعداد موقع للمسؤولين لتفعيله أو إيقافه، لكنني أجد أن هذه “الميزة” خاطئة في جوهرها.

يتميز تنسيق PNG بميزتين بالغتي الأهمية: تمثيله النصي دون فقدان للبيانات (وقابل للقراءة!) ودعمه للشفافية. وكلاهما أسباب مهمة لاستخدام ملفات PNG. بصفتي مستخدمًا لموقع Discourse، قمت برفع صورة (تحتوي على نص مع شفافية) إلى لوحتي، وشعرت بخيبة أمل شديدة عندما تم تحويلها تلقائيًا إلى JPG. لا بأس، سأقوم باستضافتها في مكان آخر. حسنًا، سارت الأمور على ما يرام حتى جاء @system وقام بتنزيل الصورة وتحويلها وتعديل منشوري من تحتي، مما كسر الشفافية وجعلها تبدو أسوأ. لحسن الحظ، أنا أيضًا مسؤول، وتمكنت من البحث في الويب للعثور على أحد المواضيع أدناه الذي أرشدني إلى إعداد `جودة تحويل PNG إلى JPG` الذي يمكنني تغييره.

على أقل تقدير، يبدو من الحكمة إيقاف هذه الميزة إذا كانت هناك شفافية في الصورة.

هل يعجب الناس حقًا هذه الميزة في لوحاتهم؟ تم طرحها مرتين من قبل، وكلاهما مع أشخاص مرتبكين/محرجين لأن ملفات PNG كانت تُحوَّل. يبدو من الجدير إعادة النظر في هذا الإعداد الافتراضي.

> [@PNG converted to JPG? frowning](https://meta.discourse.org/t/png-converted-to-jpg/74438):
>
> 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 showsto…

> [@Very small PNGs are inappropriately converted to JPGs](https://meta.discourse.org/t/very-small-pngs-are-inappropriately-converted-to-jpgs/102365):
>
> It appears that transparent logos are no longer possible…this has broken our logo on [our site](https://forums.librehealth.io). This is a transparent background with white text – uploaded one to imgur so I could show what it is supposed to be. It seems to be getting converted to JPEG [actual logo](https://i.imgur.com/bihQIec.png) vs Uploaded below – note it’s a white-background so just right-click and save to see the bug: Is there any way to preserve transparent backgrounds and not make them white – which makes the…

---

_[View the full topic](https://meta.discourse.org/t/why-default-to-converting-png-to-jpg/132167)._
