[Bf-blender-cvs] CVS commit: blender/source/blender/python/api2_2x Image.c
Campbell Barton
cbarton at metavr.com
Wed Jul 19 13:27:22 CEST 2006
Pretty sure you need to use the scenes rendering context to set the
image save options,
Ken Hughes wrote:
> khughes (Ken Hughes) 2006/07/18 23:02:15 CEST
>
> Modified files:
> blender/source/blender/python/api2_2x Image.c
>
> Log:
> ===Python API===
> Bugfix: using Image.GetCurrent() and image.save() on the "Render Result"
> image could result in a segfault since image->ibuf was NULL. This change
> forces ibuf to be created if necessary.
>
> NOTE: the Image API needs additional methods/attributes for image.save() to
> really do anything useful. The image type, quality, etc., don't seem to be
> gettable/settable so the resulting image file may not be in the format the
> user would like.
>
> Revision Changes Path
> 1.49 +2 -5 blender/source/blender/python/api2_2x/Image.c
> <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/Image.c.diff?r1=1.48&r2=1.49&cvsroot=bf-blender>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-blender-cvs
>
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-blender-cvs
mailing list