Open barracuda156 opened 7 months ago
Thanks for reporting this issue!
I was able to find the cause: This happens because the COLORTERM
environment variable is not set.
It should not happen when the variable is set, e. g. try running:
COLORTERM=truecolor make test
or checkout the develop branch where this is fixed.
I'm curious about the fmemopen
issue and how you fixed it. There is already a workaround for Windows, maybe the more elegant solution would be to use it for MacOS, too:
https://github.com/Talinx/jp2a/blob/aa07177663549bd251f17d5e035a951455ae78e4/src/jp2a.c#L230-L250
@Talinx There was a minor fix needed for a missing
fmemopen
(macOS < 10.13), but otherwise it works, apparently. Two PNG-related tests fail on PowerPC – endianness not taken into account?