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)
Hola, configuré la opción de convertir PNG a JPG en 100, edité la nueva versión y aún así se sigue convirtiendo a JPG. ¿Alguna sugerencia?
No estoy seguro, creo que @jamie.wilson trabajó en esto recientemente. La configuración debería permitir controlar la conversión.
Sí, la transparencia se mantiene al subir el PNG. El problema es que el archivo sigue convirtiéndose en JPG, un formato que no admite transparencia.
Sí, en otros programas. Pero si el archivo tiene una propiedad de fondo, se convertirá a JPG. Si desactivas el fondo, entonces no. Eso es solo mi experiencia.
Edición: en realidad, no. Tuve este problema con transparencias, pero ahora no puedo reproducirlo. Simplemente siempre funciona ![]()
Identifiqué una situación en la que los PNG se convertían a JPEG incluso cuando png_to_jpg_quality estaba configurado en 100, y acabo de fusionar una corrección. Espero que esto resuelva el problema que encontraste.
¿Podrías actualizar tu instancia de Discourse y hacernos saber si el problema se ha resuelto?
¡Sí, ahora funciona genial! Perdona la respuesta tardía.
Gracias ![]()