PHP script that does some fancy image magick stuff for a web gallery.

i could be wrong but it seems like the approach you are using is to
recreate the im-processed images each time a vistor points their
browser at your site.  if so, you might consider changes that lead in
the opposite direction to your present desire to combine as many steps
as possible.

instead of postprocessing the images upon each url request, batch
processes them once, at the time you upload them to your website.
this makes processing-time a non-issue, which means code-readability
(for future maintanence) can be the top priority.  In this scenario,
you might consider refactoring the current steps into more, smaller
steps and creating _more_ temporary files.  to keep hard-disk
read-writes to minimum (for wear and tear and for speed), you might
consider using a memory-based filesystem (i.e. a RAM disk) using tmpfs

http://wks.uts.ohio-state.edu/sysadm-course/html/sysadm-66.html

hth,

mike
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to