Black border lines in AVI/JPG/PNG after rendering

Hi

Is there a way to get rid of black border after rendering to movie/JPG etc? I always get 1 pixel black border lines. You can try to recreate this very easy: just make a pixture 10x10 pixels and zoom in. You will see that the picture has black lines on every side. Your image will be 8x8 pixels. Why do I get those black lines? What is the purpose of this? And the most important - how do I get rid of it? :slight_smile:

Cheers,
Lucas

Hey Illusionray -

I need a little bit of clarification on your issue? Are your trying to render a image or movie from UE4 directly and if so are you doing through a matinee or are you using a console command? Screenshots would be helpful as a reference as well.

Thank You

Eric Ketchum

Eric, I think I can provide some additional information. From Lucas’ description, I think he and I are having the same issue.

This screenshot is from a game run by passing the commands -ResX=1920 -ResY=1080

This is a zoomed-in portion of the top-left section of that window in which you can see the black border.

The border doesn’t seem to be part of the window decoration, because when you crop the first screenshot to 1920x1080, the black border is still present.

Hi

Yes, icannotfly shows exactly what I mean. There are black borders on the edges. This is a problem for me because I want to make a panorama and my idea was to rotate equal 90 degress and stitch those images. Everything would be fine but in my images are those lines present and I can see very clearly where the stiching is.

Cheers,
Lucas

Hey Guys -

Thank you for the clarification. I was able to reproduce this internally and have entered a Bug report for this behavior. For future reference it is TTP# 347485.

I will keep you informed as we investigate this issue.

Thank You

Eric Ketchum

You can disable this behavior by typing this into the console: r.BlackBorders 0.
Or you put r.BlackBorders=0 into consolevariables.ini

It’s an efficient/simple way to fix artifacts for some post process effects that otherwise would be more costly to solve.
It might not be often needed and we should be able to fix the issues with 0. I will check on that.

Thank you!

Adding that to consolevariables does indeed remove the lines. Thanks for the prompt response!