During the SEG-Y → MDIO conversion process, LF (\n) characters from the 40 CRLF-terminated textual header lines are not preserved. As a result, 40 bytes are removed, causing a file size reduction and shifting all subsequent data by 40 bytes. This offset misalignment leads to the conversion failure saying source and converted file size not matching. The conversion should preserve the original CRLF line endings to maintain file integrity and byte-for-byte alignment. (Using MDIO client version: 0.8.3/0.9.3)

During the SEG-Y → MDIO conversion process, LF (\n) characters from the 40 CRLF-terminated textual header lines are not preserved. As a result, 40 bytes are removed, causing a file size reduction and shifting all subsequent data by 40 bytes. This offset misalignment leads to the conversion failure saying source and converted file size not matching. The conversion should preserve the original CRLF line endings to maintain file integrity and byte-for-byte alignment. (Using MDIO client version: 0.8.3/0.9.3)