N
N
Nikita Kargin2020-06-03 21:04:33
C++ / C#
Nikita Kargin, 2020-06-03 21:04:33

What graphics library supports complex stretching?

Need a library that can stretch images. I see it somehow like this:
I specify 4 coordinates for the image (for each point) and it stretches in the window, changing its shape. It seems that Photoshop has such a tool (Free Transform in my opinion). If there are such libraries - cool. If not, you will have to think about how to implement this operation.
I use SDL2 now, but I use only one function in it - drawing a straight line

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
veydlin, 2020-06-04
@veydlin

Um, opencv? It seems to me that you can use opencv for anything to work with images
https://docs.opencv.org/3.4/dd/d52/tutorial_js_geo...
Example Get Affine Transform Example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question