J̲P̲E̲G̲ ̲v̲s̲ ̲P̲N̲G̲:̲ ̲W̲h̲a̲t̲ ̲i̲s̲ ̲t̲h̲e̲ ̲d̲i̲f̲f̲e̲r̲e̲n̲c̲e̲ ̲b̲e̲t̲w̲e̲e̲n̲ ̲t̲h̲e̲s̲e̲ ̲f̲o̲r̲m̲a̲t̲s̲?̲

in #technology7 years ago

Most of the time we use different types of image files because there are a variety of types of image files available to us and it is very likely that you have used JPEG, which is usually known as JPEG, as well as PNG and GIF.


Image Credits



The JPEG file type is the standard for the images made by the photographers, so that a JPEG file has a small size, the file is compressed the image data into blocks of pixels that are known as mosaics. The subject is that this understanding that is realized in the JPEG images is permanent because it was created with the purpose of saving large images in small storage spaces.

The image file that is most popular among users is JPEG by having the capacity to compress up to 100 times, although not everything is perfect and the JPEG has its problems is not ideal for illustrations of drawings or text, we can notice this when We try to save an image file of some illustration, most likely we see or be pixelated, so it has been configured to have the best resolution and quality, this is because the JPEG format was designed for understanding and always reduces the quality.


Image Credits



The type of format PNG has the capacity to support transparencies, it is a good format to be used in internet browsers. 

it is 24-bit like the JPEG, it counts or it has an algorithm of understanding which serves to reconstruct the data of In an exact way to the original. The only problem that PNG has is that if there is an image with many colors and pixels, you get a heavier file than in the JPEG, so it is not used very frequently on the internet.

The type of PNG format is used in graphics, illustrations and in small files of the web that need transparencies. It should avoid being used in photographs that have many details and that have to be uploaded to the web because they will become too heavy. Instead, the JPEG format is ideal for displaying photos in web browsers without taking up much space on the server, although it is not good for editing images.

The differences between these two types of JPEG and PNG formats is that the JPEG makes the understanding of the files and loses the quality of the image, it is useful for those large images that after being reduced still maintain a good quality, It does not have the function of admitting transparencies especially in images that are digital and in photographs, it allows few heavy files.


Image Credits



The PNG format has the function of compressing without losing the quality of the image, it is ideal for unfunded images, images with texts, line drawings, and logos, it has the capacity to have high quality but it does not accept very heavy files, it supports transparencies.

Small details make the difference, use the one of your preference!



 


Sort:  

Thanks for the explanation, been dealing with these a bunch lately and really didn't know benefits of each.

There is really two things to know: jpeg belongs to the internet or the thrash can. PNG can be repurposed if required. Plus you get an alpha channel which is handy.

Yeah, I was confused about it myself so I decided to do a research

Perhaps at some point I haope that people stop using jpg for text stuff. Something I see on a regular basis on the web... Nice Post!

Thank you so much, @schneidor

I did notice that Jpeg downloads faster... Now I can guess why!

Yeah!

@lazariko12
Beautiful writeup!Thanks for sharing.

Coin Marketplace

STEEM 0.19
TRX 0.14
JST 0.029
BTC 64781.14
ETH 3119.00
USDT 1.00
SBD 2.53