Jump to content
You must now use your email address to sign in [click for more info] ×

Batch process .exr to .png: how to get transparent background?

Recommended Posts

Hi there,

I was trying to batch process my blender rendered .exr files to png and even though the exr files are saved in RGBA, I cannot get them into png format with a transparent background. Regardless what I do, the backgorund is alsways black as one or more of the render layers in the exr shows a black background. I would only want the top view (RGBA) layer with the transparent background. How can I do that?

Thanks so much for your help!



Link to comment
Share on other sites

Welcome to the Serif Affinity forums.

To get a transparent background you need to enable the menu option Document > Transparent Background. You could try recording a macro to enable that option, saving it from your Macro panel into your Library panel, and then running the macro as part of your batch job.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.1.1 Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.1.1

Link to comment
Share on other sites

Hi Walt,

thank you very much for your quick reply.

I tried to record the Macro as you suggested, but unfortunately, it did not work. I am still getting PNGs with black background. I, then, tried another Macro to delete the layers with background and only keep the to layer, but I cant get this to do the job either. I am attaching pics of my EXR files with layers to better illustrate my problem. I need my final PNG only to contain the top layer "View Layer.Combined.RGBA". This needs to be achieved in a batch process as I need to apply this on several hundreds of animation stills.

Again,thank you very much for your help!

Best regards,


Screenshot 2021-03-22 083914.jpg

Screenshot 2021-03-22 083951.jpg

Link to comment
Share on other sites

If you could post your original .exr file or an equivalent .afphoto file, we could try this for ourselves. We cannot really use your screenshot for this.


Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

5 minutes ago, Hidari said:

And you get the same result when doing it through the batch process?


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.