title: How to properly scale/rotate images in pyqtgraph?
body: <p>I have implemented <code>pyqtgraph</code> inside <code>QGraphicsView</code> in PyQt5. When I display the image the following way, it is stretched out and expands in the same aspect ratio as the screen. How do I fix this?</p>
  
  <pre><code>image = pg.ImageItem(asarray(Image.open('pic.png')) )      
  self.graphicsView.addItem(image)
  image.rotate(270) 
  </code></pre>
  
  <p>EDIT: found out how to rotate image, so I updated question with the solution. Now I am just trying to scale it properly.</p>