|
rgba.push_back(std::stof(pieces[i])); |
uses std::stof which is locale dependent and will truncate floats to ints if the decimal seperator does not match
this is the same issue as addressed in #45 but not included there as neither I nor anybody else looked closely enough ...