diff --git a/svg/svg.go b/svg/svg.go index 7e3d3e05..e6ddc373 100644 --- a/svg/svg.go +++ b/svg/svg.go @@ -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)