I am noticing a diffrence when I re-create some dicom files by splitting to images and back, I tried to modified the transfer syntax but it is lossless and modifying it did not change anything
out.dcm is the original file, in which I used to extract .bmp frames from and then I used those *.bmp files to create the new file, this new file is allot bigger
and I am trying to reduce the file size. back to original, any ideas how?
I think BMP supports some compression extensions, maybe your BMP file(s) have been compressed.
There is no way to make the pixel data in DICOM smaller than what you have using uncompressed transfer syntaxes.
You can try ZIP compression (dcmconv +td <input> <output>), or RLE compression (dcmcrle <input> <output>), or JPEG Lossless (dcmcjpeg <input> <output>) to name the most prominent lossless compression schemes.
I was wondering if you can also point to a dcmtk function that create a dicom based on png/bmp files and also when using diffrent files with diffrent file sizes
then the generated dicom size is different