image library abstraction

Hi there.

one thing that would be very very kind for the few people who just can't (not will depending) install php4-gd on their server would be to add some sort of image library abstraction, so that one can easily add layers such as imagemagick (I know it involves lots of system() calls, and it sucks, but it's far better than the ugly hack i just do to zenphoto (that is: "hey, use these genethumb.sh generated thumbnails instead of yours :D")) in replacement of gd.

by the way, I can help for that, and may submit a patch against zen/i.php (didn't look in depth to zenphoto code but it looks like the biggest fortress of the GD empire) in a few days if I'm not too busy at work.

regards,

mirmo

Comments

  • trisweb Administrator
    Yeah, it's pretty easy to add conditionals in i.php to use different apps for processing. It could also just be abstracted to a class or something, which might be more elegant.

    I've been planning on adding support for ImageMagick, so I'll get to it. Sorry for the inconvenience. If you ever try it out, send me your work.
  • That would be great to have the option to use imagemagick as my current webhost doesn't have gd support compiled in - bleh. Then I could actually use zenphoto and be of more use than that of voyeur ;)
Sign In or Register to comment.