otak info official Logo   
OTAK.INFO
Personal Blog

Hariyanto Lim

정길상 / 鄭吉祥
Home   Last Posts  
 
Please login to see more topics and discussion categories.
 
goto main category list >> Life experiences >> Something I did

Title : Optimize the PNG 8bit color with better pallete and retain alpha transparency
Total Reply : 0
Total View : 3207


Harry
Harry
Total thread: 131
Total reply: 50

Post #145
Optimize the PNG 8bit color with better pallete and retain alpha transparency
To create a smaller size PNG images and also keeping alpha channel, first we create our images in Photoshop or other Paint tool then save into 24bit PNG (full color) with alpha, then use http://pngquant.org to make new smaller 8bit PNG image, or use online service http://www.8bitalpha.com

In my test, I use very large wallpaper image 24bit PNG file up to 7MB with pngquant then around 10 seconds of waiting a new 8bit PNG is created with size 3,5MB (50% reduction), as far as color comparison I feel the quality is very good and much better than the 8bit resulted from Photoshop.

Using another 24bit PNG file 143,324 bytes, pngquant can create a new 8bit PNG file 35,648 bytes (75% reduction) with no noticeable color degradation, the color is very vibrant and beautiful while also keeping alpha transparency color, pngquant is very useful for website designer as long as the target audience is not using MS IE6 !!
Falling in love with the world

Write : 2013-11-04 16:08:32
Last edit : 2013-11-04 16:14:17

If you want to create a new reply then please login first.



www.OTAK.INFO
Since 19 January 2007
Page hit : 936,990

Code update 24th June 2013
Brain is a very capable to solve big problems
but requires constant reminders about how to.
peace bird