lib: Split fpi_im_resize factor into width/height

https://bugs.freedesktop.org/show_bug.cgi?id=57426
This commit is contained in:
Vasily Khoruzhick
2012-11-22 10:12:38 +03:00
committed by Bastien Nocera
parent bc497f1b26
commit 22d204cc68
4 changed files with 8 additions and 8 deletions

View File

@@ -155,7 +155,7 @@ static void img_cb(struct libusb_transfer *transfer)
/* FIXME: this is an ugly hack to make the image big enough for NBIS
* to process reliably */
img = fpi_im_resize(tmp, ENLARGE_FACTOR);
img = fpi_im_resize(tmp, ENLARGE_FACTOR, ENLARGE_FACTOR);
fp_img_free(tmp);
fpi_imgdev_image_captured(dev, img);