I want to draw a polygon/polyline on to a big image.
So, I am migrating from PIL/opencv to pyvips. Recently, I came across loadsvg_buffer
method that can actually do it without the use of draw_mask
and draw_image
methods.
Can someone give me one fill example using loadsvg_buffer
or draw_mask
or draw_image
. The documentation wasn't much helpful.
Also, what if I have to draw multiple polylines?
Any other insights are welcome.