diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-08 12:30:39 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-08 12:30:39 (GMT) |
| commit | b5c9d86fbefdc3402be2e6615bae0bc444a1d491 (patch) | |
| tree | 915b493a97cb24b66543f6bc63fd4639c1652846 /includes | |
| parent | b5856bfa47020448961a60689dc2a44d09baf2ec (diff) | |
| download | powder-b5c9d86fbefdc3402be2e6615bae0bc444a1d491.zip powder-b5c9d86fbefdc3402be2e6615bae0bc444a1d491.tar.gz | |
Less blurry thumbnail scaling
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/graphics.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/graphics.h b/includes/graphics.h index 7489460..2d55638 100644 --- a/includes/graphics.h +++ b/includes/graphics.h @@ -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); |
