I have a PNG which is assumed to be 300 PPI, but currently, because of a software bug, it is only 72 PPI. What is the correct way to fix it?
magick -units pixelsoerinch input.png -density 300 output.png
Is it correct or maybe I need to take into account something else?