[Maya-Python] Re: loading a DDS file into a QImage for display in PyQt

2015-08-20 Thread Benjam901
[SOLVED] Hello all, I have found a way to display this and I have posted the solution below. Unfortunately I did not find a way to actually display the DDS file so I had to run a convert under the hood using Image Magick (great tool). I then ran the TGA file image through the rungs of formatti

Re: [Maya-Python] Re: loading a DDS file into a QImage for display in PyQt

2015-08-18 Thread Ben Hearn
Hello Damon, No dice on that one I am afraid. img is already a QImage since I got it from pbuffer.toImage() I have implemented it however but no luck. I am going to try and run a conversion under the hood and if it isn't too slow speed wise I may stick with that solution. I would very much like to

Re: [Maya-Python] Re: loading a DDS file into a QImage for display in PyQt

2015-08-17 Thread damon shelton
try this QtGui.QPixmap.fromImage(QtGui.QImage(img)) see if it fixes your issue. On Mon, Aug 17, 2015 at 9:06 AM, Benjam901 wrote: > UPDATE: > I shortened the function for readibility but I am still displaying nothing > but blank on my qt window. My IDE prompts me that I am missing a QImage on >

[Maya-Python] Re: loading a DDS file into a QImage for display in PyQt

2015-08-17 Thread Benjam901
UPDATE: I shortened the function for readibility but I am still displaying nothing but blank on my qt window. My IDE prompts me that I am missing a QImage on this line QtGui.QPixmap.fromImage(img)which is odd sicne I am passing something into it and calling it straight from QtGui Module. I can't