Or grabbing the whole viewport as an 32bit image?

I suspect the issue isn’t with grabWindow, but rather about the renderview
only displaying an 8-bit representation of the image, which is probably
restricted to whatever depth the OS window manager is configured to.
​

On 4 December 2014 at 18:32, Justin Israel <[email protected]> wrote:

> Have you tried saving the image via the render window editor?
>
> http://download.autodesk.com/global/docs/maya2014/en_us/CommandsPython/renderWindowEditor.html#flagwriteImage
>
>
> On Fri, 5 Dec 2014 6:02 AM Arvid Schneider <[email protected]>
> wrote:
>
>> Hey Group,
>>
>> me again. I am trying to grab the image from mayas render view using
>> QImage. What I am doing right now is grabbing the whole view with
>> "QtGui.QPixmap.grabWindow(QtGui.QApplication.desktop().winId(), 0, 0, -1,
>> -1).toImage()"
>> It would be great if this was an 32bit image, but the grabWindow
>> probabbly just grabs 8Bit.
>>
>> Can you help me out getting a float image directly from mayas native
>> render view?
>> Or grabbing the whole viewport as an 32bit image?
>> Arvid
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/7dea2271-0085-41c7-ad78-1a4f2ff0d93e%40googlegroups.com
>> <https://groups.google.com/d/msgid/python_inside_maya/7dea2271-0085-41c7-ad78-1a4f2ff0d93e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3xkHMgvXvkX6Xvifgxxi%2BBT78Fe8NmUXZLJ44ePg6sjQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3xkHMgvXvkX6Xvifgxxi%2BBT78Fe8NmUXZLJ44ePg6sjQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODOc_mZ-ybj4B7hEhsLK%2B0Buhem37aR9JNZK%3DU%3Dw8dYjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to