Jun 26, 2021 at 1:15pm Jun 26, 2021 at 1:15pm UTC
Hello is there a easy function for scaling a bmp (24 bit) image to a size of 256x256 pixels?
Jun 26, 2021 at 1:32pm Jun 26, 2021 at 1:32pm UTC
Last edited on Jun 26, 2021 at 1:36pm Jun 26, 2021 at 1:36pm UTC
Jun 26, 2021 at 1:58pm Jun 26, 2021 at 1:58pm UTC
The original size is not fixed. But the most pictures are bigger, so there is a down scaling.
I am looking for code.
Last edited on Jun 26, 2021 at 2:41pm Jun 26, 2021 at 2:41pm UTC
Jun 26, 2021 at 8:07pm Jun 26, 2021 at 8:07pm UTC
VS Studio don't find the "CImg.h"
Jun 27, 2021 at 2:08am Jun 27, 2021 at 2:08am UTC
Install vcpkg:
https://github.com/microsoft/vcpkg#quick-start-windows
install cimg:
.\vcpkg install cimg or for 64-bit
.\vcpkg install cimg:x64-windows
(to make x64 the default, set the system environment variable
VCPKG_DEFAULT_TRIPLET=x64-windows )
Run
.\vcpkg\vcpkg integrate install and use in Visual Studio.
Last edited on Jun 27, 2021 at 2:17am Jun 27, 2021 at 2:17am UTC