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

Use palette-bit-depth for palette bitdepth instead of VIPS_META_BITS_PER_SAMPLE

This commit is contained in:
DarthSim
2023-11-13 20:26:58 +03:00
parent 33bbfd0ed9
commit 07528dbecf
4 changed files with 15 additions and 16 deletions

View File

@@ -69,7 +69,7 @@ func prepareWatermark(wm *vips.Image, wmData *imagedata.ImageData, opts *options
}
}
wm.RemoveBitsPerSampleHeader()
wm.RemovePaletteBitDepth()
return nil
}