I’ve used the Image element to upload a 531x566 PNG, but for some reason it still gets compressed and there is the crappy result. On my machine the image looks very crisp and uncompressed.
I’ve tried:
Setting the width to fixed-width and precisely matching the dimensions of the original image.
I tried converting to SVG on two popular sites for doing that, both came up with very bad quality images, the second someone artistic looking, which I kindof like.
Sorry. didnt see that you tag shot for the image element. This is not in the image element itself but in the “more” options when you select the image source.
SVG is more reliable. And there’s a lot of online converter for image.
That’s really odd, as I wouldn’t have expected a PNG to look worse after upload.
The images are cleaner looking, but that’s only because they are actually “bloated” versions of the original PNG files. Basically, all that site does is base64-encode the original PNG image (which converts the binary data to text), place it in a data url, and then wrap it in an SVG tag. As a result, your images are significantly larger (byte-wise) than they need to be. For instance…
Yellow Screenshot 25.5K (your web page) vs. 7K (optimized 24-bit PNG)
Windows Logo 63.5K (your web page) vs. 10.3K (optimized 24-bit PNG)
Anyway, with regard to Bubble… Unfortunately, what seems to be happening is that PNG images are being converted to JPG, even if the setting is for PNG (which is why your images looked worse after uploading to Bubble).
I don’t know if the issue is with Bubble or Imgix, but it definitely seems like a bug. I tried a number of different things, and the only way I could output a PNG was via an HTML element with an IMG tag. What a pain!
Before I report it, though, does anyone else have any insights?