카테고리 아이콘이 JPEG로 변환됨

I used to use category icons with a transparent background (especially useful when having both light and dark mode versions). Now I always get a white background. I realized that when I download an old icon (that still works) it is PNG. But when I download the newly uploaded (PNG) icon, it downloads as JPEG.

I would consider this a bug as I think it makes no sense to convert those icons to JPEG. I have full control over what I am uploading, unlike in forum posts where I can imagine it can be useful.

EDIT: This worked Problem with category image transparency. I did not find it at first. But what has changed recently? My png_to_jpg setting was on 95, so changed to 100 and it started working. But why now?

문제가 해결된 것으로 보이지만, 그래도 이 문제에 대해 간단히 살펴봤습니다.

코드를 살펴본 결과, png_to_jpg_quality 사이트 설정값이 100보다 작으면 PNG가 JPG(투명도를 지원하지 않음)로 변환되는 것을 알 수 있었습니다. 이러한 설정에 대한 사용성이 더 직관적으로 개선될 여지가 있다고 동의합니다.

가장 쉬운 해결책은 이미지 변환이 일어나지 않도록 사이트 설정값을 100으로 유지하는 것입니다.

이미지가 붙여넣기된 경우나 PNG의 크기가 매우 큰 경우(예: 1280 * 720 초과)에도 몇 가지 함정이 있습니다. 이 두 가지 시나리오 모두에서 이미지는 JPG로 변환됩니다.

이 변경 사항으로 인해 향후 워크어라운드가 필요 없도록 방지됩니다. 이제 사이트 자산은 PNG에서 JPG로 변환하는 과정을 우회합니다: