Image-Resize-OpenCV
view release on metacpan or search on metacpan
void resize(self, width, height, ...)
SV *self;
int width;
int height;
PREINIT:
IplImage *img, *small_img;
int inter = 1;
int keep_aspect = 0;
PPCODE:
if (!SvROK(self)) {XSRETURN_UNDEF;}
if (items % 2 == 0)
{
croak("ERROR: resize - called with odd number of option parameters - should be of the form option => value");
}
int i;
for (i = 1; i < items; i+=2)
{
( run in 1.576 second using v1.01-cache-2.11-cpan-5511b514fd6 )