i don't know about loading different image files but to save it into another format what i usually do and it works is to save it with the extension you want ---

savepicture picture1.image "c:\cool.jpg"