You can use something simple, such as lzma compression at one end, to pack files and send them. This is the easiest solution, since you can capture something like gzip and batch extract files easily programmatically. This can be of great help, as modern computers prefer to transfer / receive one large file over many small files (one 1 GB file will transfer much faster than 10,000 100 KB files).
Regarding the actual reduction in the total size, each .dcm file is probably a slice (if you look at something like MRI or CT data), and the viewer that you use will reconstruct the slices into a three-dimensional image. It is impossible to trim them, but parsing the DICOM format is a bit more complicated. I do not know about any free programs that will help you parse the DICOM files, but I have not been looking for some time.
Since DICOM is a container format, the image data that you use is usually stored in a common format (such as JPEG), so if you can capture the corresponding part of the file to extract image data, you can use any of the image processing tool downloads available to crop the image to any size you choose.
source share