If you replace an image in a pdf with a png that is grayscale + transparency, the image will be saved as DeviceRGB in the PDF

page_updated.pdf
This seems to be a problem with the go png library, as the color model that is returned by DecodeConfig is the same for ctGrayscaleAlpha and ctTrueColorAlpha (both return color.NRGBAModel )