My render image has a transparent background and when i save it as PNG RGBA every thing is OK. But when i want to save as JPEG format which doesn't support alpha transparency, save it as black backgroud at transparent areas. How to save a render image as JPEG with white background instead of default black background at transparent areas? Just like when i save the render image as PNG RGBA format and open it in GIMP and save as JPEG format which change transparent background to white. Is anyway in blender without using Nodes?

  • 1
    $\begingroup$ Any particular reason you don't want to use nodes? They are very flexible and allow for doing things precisely such as this.. $\endgroup$
    – gandalf3
    Sep 10 '14 at 6:31
  • $\begingroup$ My solution in Blender 2.8 is plane with emission material behind. Environment background and compositing methods generates aways grey background or too much light. Other thing: Is there somewhere in blender nodes tip for type of input/output types? For example: alpha output 0-255 or 0-1.0? $\endgroup$
    – Jacek M
    Oct 9 '19 at 11:04

No, but it's quite simple to do with nodes..

In the compositor (press ⎈ Ctrl← Left arrow), enable Use Nodes in the header and add an alpha over node (⇧ ShiftA> Color):

enter image description here

The color in the top slot is the color which will be used instead of transparency.

Now transparency will be automatically filled in with white (or whatever is in the top socket) when the scene is rendered.

  • $\begingroup$ I am now interested in Render Layer. I wonder if you can put png image sequences with transparent backgroung into that node Render Layer. I am going to test it out myself. Thanks for post above. $\endgroup$ Dec 11 '19 at 11:44
  • $\begingroup$ Additionally, make sure you apply the following settings: [Properties > Render Properties > Film > tick "Transparent"] and [Properties > Render Properties > Color Management > View Transform > Standard] $\endgroup$
    – Vincent
    Feb 14 '21 at 11:24

You can change the background color by modifying the environment by going to the World tab in the Properties pane. In cycles, change the environment surface color. Turn off everything except camera in in the Ray Visibility panel to prevent the environment from affecting your scene. enter image description here If you're using Blender Internal renderer, then instead of setting ray visibility, you'll need to set the alpha chanel to display the sky color. enter image description here The downside of all of this is that you lose the ability to control lighting using the sky map. If that's a problem, the using the compositor to add a backdrop to your renders is the way to go-and this kind of task makes for a good introduction to the compositor.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.