On Wed, Dec 23, 2020 at 3:48 PM Anuj Verma <[email protected]> wrote: > > > Hmmm. bV5CSType lists LCS_sRGB. I would rather switch to > > BITMAPV5HEADER. Does that work for you? > > That should work, however, 'LCS_sRGB' is not defined in the 'wingdi.h' > header file that comes with mingw ( as of the latest version ). Only > 'LCS_CALIBRATED_RGB' is defined.
Really? mingw-w64 and wine have it defined. Indeed it is a little bit crazy that it is not in https://osdn.net/frs/redir.php?m=xtom_us&f=mingw%2F73379%2Fw32api-5.4.1-mingw32-dev.tar.xz I would rather raise the issue with them...
