mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-04 18:33:36 +02:00
Use VIPS_META_BITS_PER_SAMPLE image header instead of palette-bit-depth when available
This commit is contained in:
@@ -69,7 +69,7 @@ func prepareWatermark(wm *vips.Image, wmData *imagedata.ImageData, opts *options
|
||||
}
|
||||
}
|
||||
|
||||
wm.RemoveHeader("palette-bit-depth")
|
||||
wm.RemoveBitsPerSampleHeader()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user