In this short note we show how, by exploiting the regularity theory for solutions to the Monge-Ampere equation, Petty's equation characterizes ellipsoids without assuming any a priori regularity assumption.