Re: Fast Imaging for Webserver

2007-01-25 Thread Prateek
Thanks for all the responses so far.. The 'imaging' app that I mentioned is actually serving as a library for a bunch of other apps. A typical scenario is icon processing. The source image *could* be large (in this case it was 128x128 PNGA) Think of it as a Mac Finder/Win Explorer style view (gri

Re: Fast Imaging for Webserver

2007-01-25 Thread Fredrik Lundh
"Prateek" wrote: > Hi. I'm creating a web-application using CherryPy 2.2.1. My application > needs to process images (JPG/PNG files) to > > 1) create thumbnails (resize them) > 2) overlay them on a custom background (a simple frame) > 3) Overlay 'badges' (small 16x16 images) on top of the final th

Re: Fast Imaging for Webserver

2007-01-25 Thread bearophileHUGS
Paul McGuire: > before you start replacing PIL, or > optimizing CherryPy, or other possible performance-improving efforts, > you should profile the within-request processing, find the bottleneck, > and take care of that first. Good advice. Among the tests, the OP can also try to change the antiali

Re: Fast Imaging for Webserver

2007-01-25 Thread half . italian
On Jan 24, 10:46 pm, "Prateek" <[EMAIL PROTECTED]> wrote: > Hi. I'm creating a web-application using CherryPy 2.2.1. My application > needs to process images (JPG/PNG files) to > > 1) create thumbnails (resize them) > 2) overlay them on a custom background (a simple frame) > 3) Overlay 'badges' (s

Re: Fast Imaging for Webserver

2007-01-25 Thread Paul McGuire
On Jan 25, 12:46 am, "Prateek" <[EMAIL PROTECTED]> wrote: > Concurrency Level: 1 > Time taken for tests: 18.664 seconds > Complete requests: 1000 > Failed requests:0 > Broken pipe errors: 0 > Total transferred: 1468 bytes > HTML transferred: 14417000 bytes >

Fast Imaging for Webserver

2007-01-24 Thread Prateek
Hi. I'm creating a web-application using CherryPy 2.2.1. My application needs to process images (JPG/PNG files) to 1) create thumbnails (resize them) 2) overlay them on a custom background (a simple frame) 3) Overlay 'badges' (small 16x16 images) on top of the final thumbnail I am using PIL 1.1.5