You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-11-27 22:48:53 +02:00
Use palette-bit-depth for palette bitdepth instead of VIPS_META_BITS_PER_SAMPLE
This commit is contained in:
@@ -553,8 +553,8 @@ func (img *Image) SetBlob(name string, value []byte) {
|
||||
C.vips_image_set_blob_copy(img.VipsImage, cachedCString(name), unsafe.Pointer(&value[0]), C.size_t(len(value)))
|
||||
}
|
||||
|
||||
func (img *Image) RemoveBitsPerSampleHeader() {
|
||||
C.vips_remove_bits_per_sample(img.VipsImage)
|
||||
func (img *Image) RemovePaletteBitDepth() {
|
||||
C.vips_remove_palette_bit_depth(img.VipsImage)
|
||||
}
|
||||
|
||||
func (img *Image) CastUchar() error {
|
||||
|
||||
Reference in New Issue
Block a user