PNG rendering

I tried to upload the images from a Bandcamp download, but some of the images don’t render correctly at 250px and 500px.

1 Like

Ooh, thanks for the uploads!!

It has definitely been doing something weird with the pngs…

1 Like

Thumbnails use JPEG and last time I checked those don’t support transparency

1 Like

… and animated GIFs become static images.
Nevertheless I still don’t understand why so many JPEG converters default to black for transparency and not white, which would make more sense in most cases.

Nevertheless I still don’t understand why so many JPEG converters default to black for transparency and not white, which would make more sense in most cases.

The black probably comes from the PNG itself.

RGBA PNGs store colour values for every pixel, including fully transparent ones. Almost certainly the conversion is done simply by discarding the alpha component and using the colours from the image.

It makes sense for fully transparent pixels to be black as this is likely to compress better.

2 Likes