#16 fix strange effects when lightening (~shading)

open
nobody
aterm (17)
5
2004-08-01
2004-08-01
Anonymous
No

In the man page of aterm, the option -sh tells:

"Lightening can cause some strange looking effects if
applied on bright image."

This patch fixes this by inverting the colors before &
after the shading operation when the shading < 0 or >
100 and keeping shading under 100 during the computations.

It runs perfectly here, but I have not tested every depth.

Discussion

  • Nobody/Anonymous

    Patch for src/ximage_utils.c

     
  • Nobody/Anonymous

    Logged In: NO

    Whoops, I didn't log in. My e-mail address is <slicks at
    ulyssis dot org>.

     

Log in to post a comment.