NAME

Epeg - Perl extension for Epeg

SYNOPSIS

use Image::Epeg qw(:constants);
my $epg = new Image::Epeg( "test.jpg" );
$epg->resize( 150, 150, MAINTAIN_ASPECT_RATIO );
$epg->write_file( "test_resized.jpg" );

DESCRIPTION

Perl wrapper to the alarmingly fast jpeg manipulation library "Epeg".

Methods

  • new( [FILENAME|DATA REFERENCE] )

  • get_height()

  • get_width()

  • set_quality( [0-100] )

  • resize( WIDTH, HEIGHT, [Aspect Ratio Mode] )

  • write_file( FILENAME )

  • get_data()

AUTHOR

Michael Curtis <mcurtis@yahoo-inc.com<gt>

SEE ALSO

http://gatekeeper.dec.com/pub/BSD/NetBSD/NetBSD-current/pkgsrc/graphics/epeg/README.html