Preserve headers in svg.FixUnsupported

This commit is contained in:
DarthSim
2023-07-04 18:30:26 +03:00
parent 4de9b83899
commit 5f3d551f25

View File

@@ -194,8 +194,9 @@ func FixUnsupported(data *imagedata.ImageData) (*imagedata.ImageData, bool, erro
}
newData := imagedata.ImageData{
Data: buf.Bytes(),
Type: data.Type,
Data: buf.Bytes(),
Type: data.Type,
Headers: data.Headers,
}
newData.SetCancel(cancel)