Blog Archives


In article 2 Steps to convert png into ico file , i introduce steps to convert a png image into a ico, In that article, we use some online tools to do it.However, if you want to do it by php and plan to build a website to supply service of converting png to ico. I think you can read this post.

To convert png into ico file by php script, you use phpthumb to help us to do it, you can do as follow steps.

Step 1: Download phpthumb

You can click phpThumb to open page to download it, to realize function of converting png into ico, you should download these file:

phpthumb.ico.php

phpthumb.functions.php

Tips and Warnings:

1. If you can not download these two files, you can email me or leave your comment, i will send to you

2.To use phpthumb, you should make your php gd library enable, you can read article “2 Steps to make PHP GD library enable”  to enable it.

2 Steps to convert png into ico file


If you have a png image and want to convert it into ico, which is very easy now.Because there exists many online tools can help you. Only thing you can do is do like below:

Step 1: Check your size of png image

If size of your png file is very large, it is not adjust to use online tools to convert into ico, because upload this file or convert this file will take much time, which also will increase pressure of online tools server.