title: Three different types of output when reading an image with three different libraries in Python
body: <p>I am reading an image in python with three different libraries</p>
  
  <ol>
  <li>imageio</li>
  <li>PIL.Image</li>
  <li>cv2.</li>
  </ol>
  
  <p>The output I am getting on reading image with each one of these libraries is different. For example</p>
  
  <ol>
  <li><p>On reading with imageio</p>
  
  <p><code>a = imageio.imread('test_img.png')</code></p>
  
  <p>The output is of type - uint8 and size is (500,334,4)</p></li>
  <li><p>using Image</p>
  
  <p><code>b = Image.open('test_img.png')</code></p>
  
  <p>type - Image, size (334,500)</p></li>
  <li><p>using cv2</p>
  
  <p><code>c = cv2.imread('test_img.png')</code></p>
  
  <p>type- uint8, size (500,334,3)</p></li>
  </ol>
  
  <p>Why I am getting three different size for same image when using three different libraries? Please, help me in understanding the difference.</p>