title: How to save DICOM image as JPEG without losing information
body: <p>I have a dicom image that when I open it in MATLAB it is like this:</p>
  
  <p><a href="https://i.stack.imgur.com/j5EzGm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j5EzGm.jpg" alt="enter image description here"></a></p>
  
  <p>However when I see that via dicomviewer it is like this:</p>
  
  <p><a href="https://i.stack.imgur.com/H6Hogm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H6Hogm.jpg" alt="enter image description here"></a></p>
  
  <p>How can I save these dicom images without loosing their information in .jpeg format due to compression process?
  I want to save the image so that I can retrieve the same information as I get from the respective dicom image.
  Is it possible?</p>