Project cylindrical tower from photo to 2d image to uv-unwrap in Blender

Hello my new friends,

How do you suggest I convert a photo of a tower with bricks into a 2d image so that I can use it to create the same tower in Blender. I would like to be able to distort the image so that the curved parts become straight. I would prefer if this is possible in a free program like Blender or Gimp.

Thanks in advance

:slight_smile: