That's a big question and something that will get a lot of people going, in my opinion if you were using a center pin and were fishing in the most correct way there is nothing you could of done. After a fight, a few minutes in the net would only benefit the fish and let it get it's strength back. A photograph is a way of capturing a memory and no regulation should take that away from yourself. Just be calm and keep the fish within the net until the camera is set up and ready.
Congrads on the catch, I myself don't fish that way(bass man) but if I were to of had a bass snagged I would undergo the same process.
Thanks for sharing,
MTBF