Hi, I’m looking for help with OpenMaya 2.0, I am trying to save a picture of my viewport in 1920x1080, but when I take the picture with this script, it export the image in the good dimension but the thumbnail is not adapted for the format.
The script :
import maya.api.OpenMaya as om
import maya.api.OpenMayaUI as omUI
image = om.MImage()
view = omUI.M3dView.active3dView()
view.pushViewport(0, 0, 1920, 1080)
image.writeToFile(“C:\tmp\test.jpeg”, outputFormat=“jpeg” )
The result :
If anyone know how to fix this problem, they are welcome
Thank you !