カテゴリ画像の透過性に関する問題

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

「いいね!」 5

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)

「いいね!」 3

こんにちは、PNG を JPG に変換する設定を 100 にして新しいバージョンを編集しましたが、まだ JPG に変換されてしまいます。何か解決策はありますか?

詳しくはわかりませんが、@jamie.wilson が最近これに取り組んだと思います。設定で変換を制御できるはずです。

「いいね!」 2

GIMPでの私の経験では、エクスポート設定を以下のように設定する必要があります:

  • 「背景色を保存」を無効にする
  • 「ガンマを保存」を有効にする

はい、PNG をアップロードしても透明度は保たれています。問題は、ファイルがまだ JPG に変換されてしまうことです。JPG は透明度をサポートしていません。

はい、他のプログラムでは可能です。ただし、ファイルに背景プロパティがある場合、jpg に変換されます。背景を無効にすれば、変換されません。これは私の経験上の話です。

追記:実は、そうではありませんでした。透過性に関連する問題が発生しましたが、現在は再現できません。いつも正常に動作しています :man_shrugging:

png_to_jpg_quality が 100 に設定されている場合でも PNG が JPEG に変換されてしまう状況を特定し、今すぐ修正をマージしました。これであなたが遭遇していた問題が解決することを願っています。

Discourse インスタンスを更新し、問題が解決したかどうかお知らせください。

「いいね!」 2

はい、今は完璧に動いています!返信が遅れてすみません。

ありがとう :laughing:

「いいね!」 2