|
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
Navigation:
[Reply to this message]
|