Scott Taylor <[EMAIL PROTECTED]> wrote:
: 
: I'm using Apache 1.3.27, Perl 5.6.1 with DBI->DBD::Interbase
: on Linux 2.4 machine.
: 
: I have a CGI script which display a JPEG from an Interbase
: Blob.  Now, what I would like to do is modify the JPEG to
: make it into a useful thumbnail.
: 
: here is the code that converts the blob (Thanks to Dan
: Muey, and others for help with that a few months ago)
: 
: # loop through the SQL results
:     while ( my ($PixData )
:             = $sth->fetchrow ) {
:             print header('image/jpeg');
:             print $PixData;
:     }
: 
: Now I want to send $PixData to a new command that will
: convert it from a 640 X 480 @ 100% JPEG to 160 x 120 @
: 30% JPEG.
: 
: Any ideas?

    I think Randal has a couple of articles on making
thumbnails on-the-fly. Have a look at:

  http://www.stonehenge.com/merlyn/


HTH,

Charles K. Clarkson
-- 
Head Bottle Washer,
Clarkson Energy Homes, Inc.
Mobile Home Specialists
254 968-8328




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to