Ask Your Question

using putText() diagonally?

asked 2014-09-21 02:30:46 -0500

alexjr1984 gravatar image


Is it possible using the putText() method to draw text on a picture diagonally?

If not, beside using addWeighted() to blend two pictures together (where one of them is a text placed diagonally), is there any other option?

I'm trying to place a text watermark on a picture, my problem is that right now i'm using addWeighted() to blend a text drawn diagonally on a white background. Even with alpha 0.9, the white background changes the original picture.

Any ideas?



edit retag flag offensive close merge delete


you are abusing a computer-vision library for something you should do in photoshop or gimp.

berak gravatar imageberak ( 2014-09-21 02:56:46 -0500 )edit

@berak i'm trying to create this watermarked picture as part of a larger program. All I asked if it is possible. How is it I'm "abusing" ?

alexjr1984 gravatar imagealexjr1984 ( 2014-09-21 03:01:15 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-21 04:45:38 -0500

alexjr1984 gravatar image

@sergioFC, provided a solution that does the job. the link is:

edit flag offensive delete link more


upvoted that already ;)

berak gravatar imageberak ( 2014-09-21 06:27:42 -0500 )edit

Question Tools


Asked: 2014-09-21 02:30:46 -0500

Seen: 276 times

Last updated: Sep 21 '14