1
$\begingroup$

I'm using save() and I want the save color to be RGBA but by default it's set to RGB

I tried ImageFormatSetting.color_mode='RGBA' from python tooltip and I also tried

 bpy.context.scene.render.image_settings.color_mode ='RGBA'

from this answer, but neither seem to be working,
what am I doing wrong?

$\endgroup$

1 Answer 1

1
$\begingroup$

This technically isn't the right answer, more of a work around

I was using bpy.data.images.new() to create the image, all I had to do was add alpha=True

bpy.data.images.new("color_buffer_copy" , 32, 32, float_buffer=True,alpha=True)

so now whenever I did use save() it would automatically set Color as RGBA and save it

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .