Problema con la trasparenza dell'immagine della categoria

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)

Ciao, ho impostato la conversione da PNG a JPG su 100 e ho modificato la nuova versione, ma ricevo ancora file convertiti in JPG. Hai qualche suggerimento?

Non sono sicuro, penso che @jamie.wilson ci abbia lavorato recentemente? Le impostazioni dovrebbero consentire di controllare la conversione.

Dalla mia esperienza con GIMP, devi impostare le opzioni di esportazione in questo modo:

  • Disattiva “Salva colore di sfondo”
  • Attiva “Salva gamma”

Sì, la trasparenza è intatta quando carico il file PNG. Il problema è che il file viene comunque convertito in JPG, che non supporta la trasparenza.

Sì, in altri programmi. Ma se il file ha una proprietà sfondo, verrà convertito in JPG. Se disattivi lo sfondo, allora no. Questa è solo la mia esperienza.

Modifica: in realtà, no. Avevo questo problema con le trasparenze, ma ora non riesco a riprodurlo. Funziona sempre :man_shrugging:

Ho individuato una situazione in cui i file PNG venivano convertiti in JPEG anche quando png_to_jpg_quality era impostato su 100, e ho appena unito una correzione. Spero che questo risolva il problema che hai riscontrato.

Puoi aggiornare la tua istanza di Discourse e farci sapere se il problema è stato risolto?

Sì, funziona benissimo ora! Scusa per la risposta in ritardo.

Grazie :laughing: