Dear FS expert, 
Is that possible to extract .jpg or .tiff files by using command line?
Or convert .mgz file to other format file?

If ok , then I can write a program to do this action automatically.

Thanks
Lawrence