How to remove the alpha channel of PNG

Source: Internet
Author: User

There are many ways to remove Alpha channels from PNG. Designers can use ps or fireworks.
Why remove the alpha channel for PNG images? An Image usually consists of rgba4 identification bits, which are called 32bit images. Currently, most mobile devices use flash to create applications, which cannot effectively support alpha channels. images are 24bit. Therefore, if PNG is used for mobile application development, the alpha channel must be removed to achieve the first optimization.

Here is a simple method:
1. Download pngcrush tool, address http://pmt.sourceforge.net/pngcrush

2. Run the following command: pngcrush-CC originalwithalpha.png newwithoutalpha.png


Http://www.7yue.com/post/461.html

in this topic, you need to say that if your application is constructed using a flex framework, do not use swfloader to read a SWF file with stage3d. The specific reason is:
the stage3d API is the underlying programming interface of Flash Player 11. All stage3d objects do not belong to displayobject.
while swfloader is in the MX. Controls package, it inherits from the displayobjectcontainer class.
therefore, if you load a stage3d SWF in a swfloader, you will never see the correct result.

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.