Any of those help You don't send a parameter. You only send data. And the data you are sending is a String. If you want it to converted automatically to something else you need an appropriate converter. Anyway, what your are looking for is the @RequestBody annotation.
public void SaveImage(@RequestBody String imgData)
How to properly get a parameter send using ajax in a Symfony controller (annotation)?