As a follow-on to #5389. JPG saving already has some JPG-specific options. We just need to follow that pattern again for PNG.