I can’t understand it, I’m creating icon in Gimp. Adds transparency.
Windows and other programs have a good interpretation, but on the forum a white background is added to the image.
6 hours I get tired of it. What am I doing wrong ?..
I can’t understand it, I’m creating icon in Gimp. Adds transparency.
Windows and other programs have a good interpretation, but on the forum a white background is added to the image.
6 hours I get tired of it. What am I doing wrong ?..
Do you know if the image is a PNG or a JPG file after it has been uploaded? My guess is that it’s being converted to a JPG which will remove the transparency. If that’s the case, here’s what you can try:
You can also read more about the conversion behavior here: Very small PNGs are inappropriately converted to JPGs - #23 by sam
Okay, I’ll check it out, but tell me why it’s happening. What is the intention of such conversion?
btw
I tried with many pictures, even loaded very large ones on the whole screen and the problem still existed.
The idea is to cut down the file size whenever possible to reduce the impact on any storage limits.
Have you tried uploading an image with transparency after changing the setting I mentioned? If you are using the same image, it’s possible you may need to alter a pixel so the system does not see it as a duplicate and keep the converted version in favor of the PNG version (this was mentioned in the link I shared)
مرحباً، لقد قمت بضبط إعداد تحويل PNG إلى JPG على 100 وعدّلت النسخة الجديدة، لكن لا يزال الملف يتحول إلى JPG. هل لديك أي اقتراحات؟
لست متأكداً، أعتقد أن @jamie.wilson عمل على هذا مؤخراً؟ يجب أن تسمح الإعدادات بالتحكم في التحويل.
نعم، تبقى الشفافية سليمة عند رفع ملف PNG. المشكلة تكمن في أن الملف يُحوَّل لا يزال إلى JPG، وهو تنسيق لا يدعم الشفافية.
نعم، في برامج أخرى. لكن إذا كان الملف يحتوي على خاصية الخلفية، فسيتم تحويله إلى JPG. إذا عطلت الخلفية، فلن يحدث ذلك. هذه مجرد تجربتي.
تعديل: في الواقع، لا. كان لدي هذه المشكلة مع الشفافية، لكنني لا أستطيع إعادة إنتاجها الآن. إنها تعمل دائمًا ![]()
لقد حددت حالة يتم فيها تحويل ملفات PNG إلى JPEG حتى عند تعيين png_to_jpg_quality على 100، وقمت بدمج إصلاح للتو. آمل أن هذا يعالج المشكلة التي واجهتها.
هل يمكنك تحديث مثيل Discourse الخاص بك وإخبارنا ما إذا تم حل المشكلة؟
نعم، إنها تعمل بشكل رائع الآن! آسف على التأخير في الرد.
شكرًا ![]()