Image standardization

Initially supports flipping and colour inversion
This commit is contained in:
Daniel Drake
2007-10-27 12:07:11 +01:00
parent 0ddfef6c21
commit 9960a7ff34
5 changed files with 75 additions and 0 deletions

View File

@@ -294,6 +294,7 @@ static int capture(struct fp_img_dev *dev, gboolean unconditional,
img = fpi_img_resize(img, image_size);
img->width = IMG_WIDTH;
img->height = IMG_HEIGHT;
img->flags = FP_IMG_V_FLIPPED | FP_IMG_H_FLIPPED | FP_IMG_COLORS_INVERTED;
*ret = img;
return 0;