Search code examples
c++cresizebmpcbir

How to re-size .bmp file in C\C++?


I am doing a CBIR system as an assignment.There are 100 .bmp files,but they have different size,how to re-size them to a same size? Thanks.


Solution

  • Have a look at the CImg Library, it's quite easy to use. You can load your bitmap file then use one of the resize function.