0

I have 2 Bitmap (bmpA and bmpB) and in each I drawn a Line between 2 Points. These lines have different length.

First: I want to scale bmpB so that the line drawn in it have to be the same of the length drawn in the bmpA.

Second: I want to overlay the two Bitmap and I want that exactly the points on the line in the bmpA overlap exactly the line in the bmpB.

I hope it's clear this explanation.

3
  • Have you considered using OpenCV for this task? Commented Dec 22, 2022 at 18:44
  • @CoolBots no because I don't know this library. Commented Dec 22, 2022 at 18:56
  • Graphics.ScaleTransform and RotateTransform should do the job. Commented Dec 22, 2022 at 20:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.