[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ApacheGallery] Patch to replace inline C code with native Perl
On Sat, Mar 22, 2003 at 03:25:52PM -0600, Thomas Eibner wrote:
> Okay, I'm almost 100% sure that this is not going to make it in. If we
> want to allow for imagemagick to be used it would have to be a way so
> you can choose which one you want. So, we need to figure out how we
> want this to work. I'm proposing we make two new modules that plugs
> into A::G from httpd.conf. I would suggest that we make two wrappers
> called Apache::Gallery::Imlib2 and Apache::Gallery::ImageMagick.
> They would both have the same methods which would be wrappers around
> how each library does the the resizing/superimposing etc. Both modules
> would create the functions in a common namespace (so you can only use
> one graphics library at a time).
> How does that sound Jon? Michael? Andreas? :)
That sounds reasonable. The resize code is pretty modular, entirely
contained in the resizepicture() routine.
What do you think about the code to resize images on the image fetch? Or
is that what you were referring to when you said you're 100% sure it's
not going to make it in?