NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Close the loop: analytics that teach your chatbot to fix itself (hoverbot.ai)
dvh 3 days ago [-]
> Me: If I want to blend 50% two images what should be the opacity of first image and opacity of second image?

> GPT: To blend two images equally—so that each contributes 50% to the final result—you should set the opacity of both images to 50% when layering them. The combined visual contribution of both images should total 100%.

It just keeps repeating this mistake no matter what I do. Btw correct answer is 100% opacity first and 50% opacity second. With 50%+50% the result is 75% opaque.

kelseyfrog 2 days ago [-]
Huh, mine corrects itself. Not sure what yours is up to

If you want to blend two images equally (a 50/50 mix), then each image should contribute 50% opacity.

Image 1 opacity: 50%

Image 2 opacity: 50%

That way, when composited, each pixel in the result is exactly halfway between the corresponding pixels of the two source images.

One subtlety: If you simply stack one image over the other and lower the top layer’s opacity to 50%, you’ll effectively get 50% of the top image + 50% of the bottom image. But if you lower both to 50% and put them on separate layers without special blending, depending on the software, you might not actually get a true 50/50 blend — it could look faded.

The cleanest way (in Photoshop, GIMP, etc.) is to keep one image at 100%, put the other above it at 50% opacity. That produces a proper 50/50 blend.

Do you want me to walk through the math of why lowering both to 50% doesn’t give you a true 50/50?

6 days ago [-]
lloydatkinson 3 days ago [-]
What’s with all the spam accounts on here over the last few days?
sarfrazkhan 3 days ago [-]
2
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 03:38:42 GMT+0000 (Coordinated Universal Time) with Vercel.