$ 0 0 ImageMagick does not update the density in the profiles. When you view it in Windows explorer it can still be using the value in the profiles. Can you try adding testImage.Strip() before you do testImage.Write?