Alec Baldwin flew into a rage and scuffled with a photographer outside an East Hampton playground Sunday — but avoided arrest by eating crow over the meltdown, the lensman told The Post.

Freelancer Matt Agudo said he was snapping shots of Baldwin, wife Hilaria and 1-year-old daughter Carmen near Herrick Park when the actor grabbed his shirt, shoved him and tried to put him in a headlock.

When cops arrived at around noon, Agudo declined to press charges and instead accepted a handshake and apology from the hotheaded star, the fotog says.

Agudo said he made the decision because Baldwin is still under court supervision following his May 13 arrest for riding his bicycle the wrong way on Fifth Avenue in Manhattan and mouthing off at cops who stopped him.

Click for more from