1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-06-17 22:37:33 +02:00

Fix transparrency in loaded ICO

This commit is contained in:
DarthSim
2022-03-14 18:29:40 +06:00
parent e9e5b9e60d
commit 175cb8c41b
4 changed files with 55 additions and 58 deletions

View File

@ -208,7 +208,7 @@ func (img *Image) Load(imgdata *imagedata.ImageData, shrink int, scale float64,
}
if imgdata.Type == imagetype.BMP {
return img.loadBmp(imgdata.Data)
return img.loadBmp(imgdata.Data, true)
}
var tmp *C.VipsImage