You are here: Re: work with images « PHP Programming Language « IT news, forums, messages
Re: work with images

Posted by Alvaro G. Vicario on 12/11/05 16:53

*** NurAzije escribió/wrote (11 Dec 2005 02:46:45 -0800):
> I ment the quality of images, I want them to be lighter for download,
> for example, some images are 2MB in JPG, by Adobe Photoshop or
> Fireworks or even Microsoft Imaging I can lower its size in MB to KB
> and change in it dimensions nothing.. Do understand me now, I have a
> website with images wich are too big for download..

So you want to increase the JPEG compression ratio in order to get smaller
files through decreasing picture quality.

In the "Image Functions" chapter in PHP manual, imagejpeg() looks like what
you're looking for. Read the whole index though, since there may be other
useful functions.

Also, there's a suite called ImageImagick with several command line tools
for image processing. It's installed in most Linux servers and is a faster
alternative to native PHP functions. You can use it via exec() or system().


--
-+ Álvaro G. Vicario - Burgos, Spain
++ http://bits.demogracia.com es mi sitio para programadores web
+- http://www.demogracia.com es mi web de humor libre de cloro
--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация