Forum Moderators: Staff
Poser Python Scripting F.A.Q (Last Updated: 2024 Dec 02 3:16 pm)
Okay, I think I figured out my own issue. I was outputting to PNG, and for some reason, when you save the image to PNG, you get a transparent background. I solved that problem by saving to JPG. Now it saves the render correctly. Thanks nruddock for responding! BTW: To answer my own question about waiting to run SaveImage, I am using scene.ProcessSomeEvents(1) right after the Render() call to allow the render to complete. Don't know if it matters, but it works fine this way so...
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
How would I go about saving a render done through Python, in Python? SaveImage seems to export the Preview image, rather than a fully rendered one. I don't see a command to choose which panel is used to export. Maybe the problem is that the SaveImage is running before the render is complete? Is there a way to pause the execution of the script until a render has completed? All help is greatly appreciated!