Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

Image Compression in php

images php coding issues or problems here.

Moderators: macek, egami, gesf

Image Compression in php

Postby renjini » Mon Jan 31, 2011 5:19 am

How can i compress png images in php?
renjini
New php-forum User
New php-forum User
 
Posts: 4
Joined: Mon Jan 31, 2011 5:07 am

Re: Image Compression in php

Postby egami » Mon Jan 31, 2011 9:16 am

png images are already compressed.
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: Image Compression in php

Postby annyphp » Thu May 19, 2011 1:35 am

Maybe you can use free PHP compression script, these script provide a solution to manipulate data compression/uncompression, file archive in the format of ZIP, GZIP, TAR, RAR, etc. It can also compact CSS, JS, HTML files by removing unnecessary characters, comments and white spaces.
annyphp
New php-forum User
New php-forum User
 
Posts: 76
Joined: Sun Nov 28, 2010 6:33 pm

Re: Image Compression in php

Postby webinfopedia » Thu May 26, 2011 5:03 am

I think the reason of compressing the image is to reduce the loading time of your web page. To do this am using dynamic image thumbnail or else to any size.

Read the below article and also you can download the example file.
http://www.webinfopedia.com/create-thumbnail-image-dynamically-using-PHP.html

Thank You
User avatar
webinfopedia
New php-forum User
New php-forum User
 
Posts: 84
Joined: Sat May 21, 2011 10:26 pm


Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.