Change PBM output mode to system default.
It's ASCII output at the moment anyway, so it shouldn't be an issue.
This commit is contained in:
parent
3b9d9cde30
commit
d2c174f2e1
@ -39,7 +39,7 @@ write_netpbm (const uint8_t *restrict pixels,
|
||||
CHECK_HARD (height > 0);
|
||||
|
||||
// Establish an output stream
|
||||
std::ofstream output (path.native (), std::ios::binary);
|
||||
std::ofstream output (path.string ());
|
||||
if (!output.good ())
|
||||
throw util::output_error ("Unable to open output file");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user