Author: gogocome Source: Blue ideal
Generally, when a transparent GIF image is stored, the image is directly stored without any appearance, shadow, or external light, unless the opaque area of the image is a regular rectangle.
Online design: the trick in this article is to use Photoshop to save images with the "Miscellaneous" option, we can "define the color and mix the transparent pixels" to solve the problem of the Sawtooth edge of the transparent background image.
This is shadow-free.
This is shadow.
This is a demonstration of transparent areas in Photoshop.
When saving, there is an option called "Miscellaneous". If you place the cursor over it, the following message is displayed: "define color to mix transparent pixels ". Set the color here to better solve this problem,
Generally, you only need to set the color here to be the same or similar to the background color of the webpage, and then place the image in the webpage, so that the image will not be noticed.
For example, if you set the "Miscellaneous" to # f2f3f7 when saving the original transparent GIF image (or use "other colors" in "My color", I did not say it ), save it, paste it here, and there will be no sawtooth. See!