Less blurry thumbnail scaling

This commit is contained in:
Simon Robertshaw
2011-06-08 13:30:39 +01:00
parent b5856bfa47
commit b5c9d86fbe
3 changed files with 16 additions and 2 deletions

View File

@@ -52,6 +52,8 @@ void *ptif_pack(pixel *src, int w, int h, int *result_size);
pixel *ptif_unpack(void *datain, int size, int *w, int *h);
pixel *resample_img_nn(pixel *src, int sw, int sh, int rw, int rh);
pixel *resample_img(pixel *src, int sw, int sh, int rw, int rh);
pixel *rescale_img(pixel *src, int sw, int sh, int *qw, int *qh, int f);