JPEG, GIF… or else? Part 3: 3D images

Now let us apply the knowledge we gained from previous discussion, and look at some more tricky images: 3D.
These are all the modern-style nice images, produced by professional graphics designers. Just like this one: IM15

Yes, our “rule of thumb” is to use PNG, but will it help to publish it as a GIF file? Doesn’t it contain only blue and green colours?
Well, it actually contains few thousand different colours – all the different shades of green and blue. So, as we should expect, saving this image in GIF format makes it somewhat less impressive: IM16
But the size of the GIF file has quite decreased: to 6.39 KB from original 23.3 KB – as so many colours were eliminated from the original.

Saving the file as JPEG, with best quality, gives smaller image too: IM17, only 11.5 KB, but this time we achieve practically the same quality as the original.
You can compress the JPEG even more, but should you? 2.5 KB file will look quite less impressive: IM18

So what format, if not PNG? Probably good quality JPEG, if we are very concerned about file sizes.

Bigger concern though should be the semitransparency. PNG files like this are usually created with the aim to be used on different backgrounds – something we avoided to look into before.
So you may publish the image on a web page of different colour – and it will be looking as good, if it is still in PNG format: IM19
JPEG image does not support transparency at all, so it will come with the white square around it.
GIF file, on the other hand, will have transparent areas. But GIF file won’t have semi-transparent pixels, and the result will be disastrous: IM20

Well, this should be enough for a small excursion into graphics. Send your questions.

Leave a Reply