
I am writing a jpeg file into a dcm file, and when using the frame.EncapsulatedFrame method, the written data is as shown below.Can I set NativeData to nil or frame.NewNativeFrame[uint8](0, 0, 0, 0, 0) to achieve a generated dcm file that does not contain the original image data, but only the compressed jpeg data?
I am writing a jpeg file into a dcm file, and when using the frame.EncapsulatedFrame method, the written data is as shown below.Can I set NativeData to nil or frame.NewNativeFrame[uint8](0, 0, 0, 0, 0) to achieve a generated dcm file that does not contain the original image data, but only the compressed jpeg data?