title: Color in image gets dull after saving it in OpenCV
body: <p>I am using opencv module to read and write the image. here is the code and below is the image i am reading and second image is after saving it on disk using <code>cv2.imwrite()</code>.</p>
  <pre><code>import cv2
  
  img = cv2.imread('originalImage.jpg')
  cv2.imwrite('test.jpg',img)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/WV1YC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WV1YC.jpg" alt="original image" /></a></p>
  <p><a href="https://i.stack.imgur.com/NsWWC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NsWWC.jpg" alt="image saved using opencv" /></a></p>
  <p>It is significantly visible that colors are dull in second image. Is there any workaround to this problem or I am missing on some sort of setting parameters..?</p>