The documentation is not working out well for me on this new function.
"jpeg" is the trouble parameter. When I use a container field for this parameter it fails and I just get yellow images. When I export the field contents and then use a $path to the exported path also fails with a ? in the container.