I am creating web graphics and I would like some advice in these two compressions: jpeg and gif.
Pros and cons and a conclusion on which one is better(combines best quality and small size)
The jpeg (jpg) format is a lossy format in that it losses image data each time it is saved. The jpg format is best for images with lots of color changes like photographs and gradients. The jpg format uses 16 million colors and is 24 bit. There are lossless versions of the jpg format and psp 8 supports such a format, though there are browser compatibility problems.
The gif format is best for images with blocks of solid color like clip art, and is a lossless format, in that no matter how many times it is saved, it does not lose image data. It also (unlike the jpg format) supports transparency. The gif format can have a maximum of 256 (8 bit) colors on down to 2 colors (1 bit).
Jpeg is lossy, so you have to save the master if you don't
want to kick yourself later. I sometimes do dozens of image corrections on one jpeg , and use the lowest compression option on save which seems to average out as about 7:1 over bmp, and it's very rare to find a degradation that I really care about. If you're really fussy, go back to the master and do them again, all combined, or combine a bunch when you start out. If you want to send them out, you can compress way down to save bandwidth, and if the receiver wants quality, send a moderately compressed version. I frequently compare bmp with jpeg on "problem" images and like jpeg.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.