1
0
mirror of https://git.familie-radermacher.ch/linux/ptouch-print.git synced 2026-04-08 11:42:20 +00:00

set output PNG resolution to 180

This commit is contained in:
Pascal de Bruijn
2026-03-05 18:19:07 +01:00
committed by Dominic Radermacher
parent 245aa4aad0
commit cb76f2ae75

View File

@@ -283,6 +283,7 @@ int write_png(gdImage *im, const char *file)
printf(_("writing image '%s' failed\n"), file); printf(_("writing image '%s' failed\n"), file);
return -1; return -1;
} }
gdImageSetResolution(im, 180, 180);
gdImagePng(im, f); gdImagePng(im, f);
fclose(f); fclose(f);
return 0; return 0;