Eliminate sawtooth saves smooth edge transparent background GIF images

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.