After reading an article published by the srv2 forum, we discussed the application of "besr", which contains a large number of images. In this way, it takes a long time for the viewer to watch it. This is because there are too many images and the total number of bytes is large. If an image is 90 K on average, the 30 images are nearly MB! What's more, srv2 has more than 30 pictures! In this case, during the Forum peak period, the posts are almost invisible, and most images are invisible.
Well, I think it's not just srv2, but many other friends in the Forum have such a need. How can I make the pictures of my posts smaller?
Okay. Let me ask pig to solve this problem...
We know that there are three formats available on the webpage: GIF, JPG, and PNG.
Many people always save images in JPG format, which is too partial. Most of the time may be wrong.
The image below is rich in color and complex, so it is suitable to be saved in JPG format.
The following figure shows the software menu with a few colors (you know, it's just a dozen different la s !), If the image is simple, GIF images are suitable for storage. In this document, except the first image, all other images are saved as GIF images. You can right-click the attribute to check its size!
Let's make an experiment.
Open Photoshop and select "Save As Web format" in the File menu, which is the menu item in
The interface that appears. In fact, the top left corner is the source image, the top right corner is the quality compression in JPG (JPEG), the bottom left is the JPG high quality compression, and the bottom right is the GIF (16 colors ).
As you can see, the quality of GIF images is the same as that of the source image, and it is only 4.439 kb. The quality of JPG images is similar to that of the source image, but there is a huge increase of kb. The quality of JPG images is terrible (the main reason is that we enlarge the image, and the size of 100% will not be too bad)
In fact, JPG is a lossy compression image format. It "loses" the pixels "in some locations that are not easily noticed by human eyes ", in this way, the image size can be effectively reduced. However, if you zoom in, there will be something like crushed particles.
Up to 256 colors are supported for Gif images. This value can be adjusted as shown in. Moreover, gif is a lossless compression format.
Many of our tutorials describe how to use the software, and most of the software interfaces are in a few colors. Therefore, they can all be saved in gif format, which is small and clear! Two birds in one fell swoop.
For beautiful women, scenery, and other photos, they can only be saved as jpg, but you can choose to save the quality (as shown in). The smaller the quality, the smaller the number of bytes, at the same time, the image quality is worse. If the image is saved as gif, the size will be huge (larger than the source image) and the effect will be very poor, you can use "Save all web Formats" to experiment with the first image.
Save as gif or jpg image, that is, save as in the File menu. Then, the following menu is displayed. Select the format you want to save it.