[GIS] How to turn a GeoTIFF file into a bmp file

cgeotiff-tiff

I need to get GeoTIFF files transformed into bmp files so that I can display them as apart of some software that I am working on. Unfortunately, I am a total newbie with GIS and really don't know much about geography. I am working in C++ and need to have this included in what I am doing. A dll file would be great, although it is my understanding that we might need to include the source code from which the dll is created. I am wide open to any other technique that could be used as well. Can anyone help me with this?

I should also note that I am working on a Windows machine.

Best Answer

For converting from GeoTiff to BMP you can use GDAL library. It has C++ API and well-documented.

I have found GDAL convertion example for C#. I hope it will help you to start from.

For BMP you will need to create "world file" to store GeoReferencing information. I think GDAL will create it by default.