"We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.
Parvat (26th June 2013)
Finally you got it what i mean to say
For the image you gave
i expected 1st output .
No1.jpg
back area Transparent
Thanks Chris for understanding my query.
Last edited by Parvat; 26th June 2013 at 08:54.
Then my previous example code is exactly what you need.
Construct a rectangle of the specified size.
Construct a transform to rotate and shift it to the specified coordinates.
Make a mask using a transformed painter
Apply the mask as the alpha channel of a copy of the image.
Profit.
Parvat (26th June 2013)
Thanks .finally got it .![]()
Bookmarks