After quick smoke test on Linux worked just fine. I wrote simple FITS viewer using cfitsio for myself and was also using toLocal8bit() and it was working fine even on windows.Read More...