DICOM to JPEG Convertion

Operating system: Windows 10 x64
Slicer version: 4.10.2
Expected behavior: all the file format changed when I choose one format
Actual behavior: format changed at once for the selected file

Is it possible change at once the file format chosen in Save Scene and Unsaved Data?
when I try to save scene and choose the file format (eg. .nrrd to .jpeg) I have to change all the files, one by one.

I need change all the extension file choosing the file format, at once. Because I have many files to convert (.nrrd to .jpeg).

These instructions should help:

https://www.slicer.org/w/index.php/Documentation/Nightly/ScriptRepository#Change_default_file_type_for_nodes_.28that_have_never_been_saved_yet.29

In general, JPG cannot be used for medical image storage. Not just due to compression artifacts but because it is limited to 8 bits and does not preserve slice spacing and axis directions. If you want to use medical images for deep learning then you don’t have to degrade them by saving to JPEG but you can load nrrd images in Python and extract slices using simple numpy array indexing.