confused How do I get rid of the white outline around the photos on the boxes in YafaRay?

This topic has been viewed 6275 times and has 13 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
GaudiGalopin3324
Posts: 729
Joined: Sat Aug 13, 2022 9:58 am
Country: Russia

Re: How do I get rid of the white outline around the photos on the boxes in YafaRay?

Post by GaudiGalopin3324 »

I've been on various forums. Yes, Photoshop has this problem. There is a two-pixel-wide layer of translucent pixels along the border of the image on a transparent background. They give a white thin stripe in a high-quality engine like Yafaray. We need to remove these translucent pixels and that's it. Until I learned all the techniques. I did it very roughly, enlarged the original photo to a gigantic size of 10,000 pixels. And I cleaned the background with a hard eraser on such a small-pixel field. It works with a creak, but of course you need to learn simpler techniques.
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: How do I get rid of the white outline around the photos on the boxes in YafaRay?

Post by Keet »

Weird that Photoshop adds a two pixel border. It's probably meant as a transition border but it shouldn't be added without a setting to do so. Maybe try GIMP instead of Photoshop.
Most important: it would be great if you could remove that border and solve the white line problem.
Dodecagon.nl
1300+ 3D models, manuals, and projects
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: How do I get rid of the white outline around the photos on the boxes in YafaRay?

Post by Daniels118 »

It's not a problem in Photoshop, it's called antialiasing, it is required to get soft edges on transparent pictures. The problem could be that YafaRay doesn't handle half-transparent pixels correctly.
You could simply apply a threshold on the alpha layer to get rid of translucent pixels, see here:
https://graphicdesign.stackexchange.com ... ject-layer

PS. if you have the original picture, just turn off antialiasing when cutting the background.
User avatar
GaudiGalopin3324
Posts: 729
Joined: Sat Aug 13, 2022 9:58 am
Country: Russia

Re: How do I get rid of the white outline around the photos on the boxes in YafaRay?

Post by GaudiGalopin3324 »

Thank you very much!! I will try.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests