[Image-SIG] Skewing when converting with ImageQt

2009-06-22 Thread Carl Petterson
Hi! I'm using PIL to load .pgm images into an application. They are to be displayed as QPixmaps in a Qt app, so I'm using the ImageQt class to convert my PIL images to QImages, and later QPixmaps. However, for some - but not all - pictures, the resulting image is skewed. It looks fine if I do

Re: [Image-SIG] Skewing when converting with ImageQt

2009-06-22 Thread Fredrik Lundh
On Mon, Jun 22, 2009 at 3:06 PM, Carl Pettersoncarl.petter...@tobii.com wrote: Hi! I’m using PIL to load .pgm images into an application. They are to be displayed as QPixmaps in a Qt app, so I’m using the ImageQt class to convert my PIL images to QImages, and later QPixmaps. However, for some