… | |
… | |
885 | $img |
885 | $img |
886 | } |
886 | } |
887 | |
887 | |
888 | =item muladd $mul, $add, $img # EXPERIMENTAL |
888 | =item muladd $mul, $add, $img # EXPERIMENTAL |
889 | |
889 | |
890 | First multipliesthe pixels by C<$mul>, then adds C<$add>. This cna be used |
890 | First multiplies the pixels by C<$mul>, then adds C<$add>. This can be used |
891 | to implement brightness and contrast at the same time, with a wider value |
891 | to implement brightness and contrast at the same time, with a wider value |
892 | range than contrast and brightness operators. |
892 | range than contrast and brightness operators. |
893 | |
893 | |
894 | Due to numerous bugs in XRender implementations, it can also introduce a |
894 | Due to numerous bugs in XRender implementations, it can also introduce a |
895 | number of visual artifacts. |
895 | number of visual artifacts. |