which are present in "src/main.cpp"
It would be good to describe the general approach to "lossless" conversion from SVS to DICOM so that the original JPEG tiles are not compromised by the loss in decompression/recompression, and whether or not this is supported for JPEG only or J2K tiles as well, and or any other formats than SVS.