Hi,

I was trying to use the script render_auto_save.py under 2.7.1, but it
only produces invalid files.

After rendering a file, I tried to program the main steps of that script
in the Blenders text editor:

import bpy
image = bpy.data.images['Render Result']
print(image.has_data)
print(image.render_slot)
print(image.source)
image.save_render('/tmp/test.jpg')

I've added the print commands to see if there is anything at all.

The output:

True
0
VIEWER

The saved image however is again a very short invalid file.

Do I miss something or is this a bug.

 Michael
_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python

Reply via email to