take a look at the netpbm package... you'll probably want to pre-generate the thumbnails as it's not super fast (ie, not fast enough to power a website, but fast enough)...
-philip On Thu, 24 Oct 2002, Nathan Vidican wrote: > I am looking to try and make a CGI application which can take in a single > argument (the particular image to open), and return an image after scaling > it down to a specific size. All images are the same size, and will all be > scaled down proportionally. Here's the scenario: > > We've got a website, where a lot of pictures are frequently posted from one > of about ten digital cameras. Fortunately all pictures are of the same size, > but unfortunately that's 2048x1563 pixels and around 2Mb jpg to begin with. > We'd like the viewers of the site to be able to selectively download any one > of these high-res pictures, but generate thumbnails of each of the images > and send them out on the pages. So basically I need a program which can > proportionally scale down and return an image (in jpg format). I'd like to > find something preferably written in either C/C++ or PERL. Any ideas or > suggestions would be greatly appreciated. > > -- > Nathan Vidican > [EMAIL PROTECTED] > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message