Hello all,

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?

Cheers.

--
Scott


-- 
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