summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 08f0f5c..3dd1f2b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1482,8 +1482,8 @@ int main(int argc, char *argv[])
free(datares);
datares = NULL;
}
- scaled_buf = resample_img(vid_buf, XRES, YRES, XRES/4, YRES/4);
- datares = ptif_pack(scaled_buf, XRES/4, YRES/4, &res);
+ scaled_buf = resample_img(vid_buf, XRES, YRES, XRES/GRID_Z, YRES/GRID_Z);
+ datares = ptif_pack(scaled_buf, XRES/GRID_Z, YRES/GRID_Z, &res);
if(datares!=NULL){
f=fopen(ptismallfilename, "wb");
fwrite(datares, res, 1, f);