1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-11-29 23:07:40 +02:00

Merge branch 'master' into version/3

This commit is contained in:
DarthSim
2021-09-07 19:04:33 +06:00
10 changed files with 152 additions and 29 deletions

View File

@@ -523,7 +523,14 @@ vips_arrayjoin_go(VipsImage **in, VipsImage **out, int n) {
int
vips_strip(VipsImage *in, VipsImage **out) {
if (vips_copy(in, out, NULL)) return 1;
static double default_resolution = 72.0 / 25.4;
if (vips_copy(
in, out,
"xres", default_resolution,
"yres", default_resolution,
NULL
)) return 1;
gchar **fields = vips_image_get_fields(in);