Reply to Creating an image - speed issues

Your name:

Reply:


Posted by Alexander Fischer on 10/06/06 16:00

Hello,

I am writing a gallery script and use imagecreatefromjpeg and fpassthru
to output images without any change to them (i.e., no thumbnail
creation etc. - just deliver the image via the php script). However I
note that the image creation is quite slow - the user can see that the
image is created line-by-line, from top to bottom.

Most likely this speed issue comes from PHP, since PHP is simply slower
than C etc.

However, if I use a "professional" script like e.g. phpThumb, I notice
that the image display is much, much faster - almost as if I had the
image displayed directly.

What can I do to make my images faster? If there's nothing (simple)
that I can do, is there at least a way to make the images as
progressive JPGs, i.e. they don't build up from top to bottom
line-by-line, but the image starts as a blurry image and gets sharper
with time?

Thanks!
Alex

[Back to original 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

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