httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Montero <mmont...@mail.communityconnect.com>
Subject Re: mod_imagick...anyone?
Date Tue, 03 Dec 2002 20:09:15 GMT
Cliff, thanks for the reply.  I read this:

"mod_ext_filter presents a simple and familiar programming model for 
filters. With this module, a program which reads from stdin and writes to 
stdout (i.e., a Unix-style
filter command) can be a filter for Apache. This filtering mechanism is 
much slower than using a filter which is specially written for the Apache 
API and runs inside of the
Apache server process, but it does have the following benefits:"

I'm particularly concerned with:

"This filtering mechanism is much slower than using a filter which is 
specially written for the Apache API and runs inside of the Apache server 
process..."

My main concern would be with how expensive ImageMagick calls can be and 
the need to call both mogrify and convert (in my experience) to get a 
single thing done to an image.  I would much rather read an image into 
memory and then perform a host of functions to it rather then read, write, 
read, write, etc.

Perhaps mod_ext_filter performs better then I'm assuming it does.  I'm not 
sure I would agree that this is the best mechanism for processing images 
with ImageMagick.

Of course, this is all less interesting if there is a proxy caching the 
images.  In which case, the performance hit is to generate the initial 
image only.

On Tue, 3 Dec 2002, Cliff Woolley wrote:

> On Tue, 3 Dec 2002, Michael Montero wrote:
> 
> > Hello!  Wondering if anyone is working on/interested in a module that
> > wraps the ImageMagick functionality?  I'm thinking it would be used as
> > such:
> >
> > <IMG SRC="/images/blah.gif?im=rot|90;size|100x100|....">
> 
> Just as a hint, mod_ext_filter and mod_cache in Apache 2.0 would likely be
> helpful for this.  mod_ext_filter to do the interface to ImageMagick and
> mod_cache to keep the output with the same parameters from having to be
> regenerated every single time.  Given those two, I bet you could get this
> functionality having to actually write a new module.  :)
> 
> --Cliff
> 
> 

-- 
Michael C. Montero
Chief Technology Officer
Community Connect Inc. Co-founder
MMontero@Mail.CommunityConnect.com

-=-=-=-=-=  Community Connect Inc.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

The Premier Source of Interactive Online Communities    149 Fifth Avenue
http://www.CommunityConnectInc.com/                     New York, NY 10010

http://www.AsianAvenue.com/             http://www.BlackPlanet.com/
        Click into Asian America                The World Is Yours

http://www.MiGente.com/                 http://www.DiversityJobMarket.com/
	The Power of Latinos                    In partnership with The New
						York Times

-----  Your Message May Appear Below This Line



Mime
View raw message