First, the location is an absolute path for the file system on the robot. We will also clarify this on next version of the documentation.
An example:
media.Start()
path, _ := skill.SkillDataPath()
media.SnapshotJPEG(path+"/test.jpg", 100)
media.Close()
Currently, only 720p images are supported. if you want to change the size, you need to crop or resize the image yourself with standard libraries of Golang.