wptc-track icon indicating copy to clipboard operation
wptc-track copied to clipboard

Output PNG errors: Suffered Unix->DOS line ending conversion when compiling on MSYS2

Open MagicalDrizzle opened this issue 7 months ago • 1 comments

I have succeeded in compiling track natively for Windows without Cygwin using MSYS2. However the PNGs outputed by it are corrupted - seemingly due to line ending conversion.

wptc-track-master\png>pngcheck -v output.png
File: output.png (419285 bytes)
  File is CORRUPTED.  It seems to have suffered Unix->DOS conversion.

Comparing the pngs themselves with xxd seems to confirm it - the actual image data is the same but there are differences in spots throughout the file. (These are PNGs but with extensions changed to disable embedding) output-lin.png.zip output-win.png.zip

MagicalDrizzle avatar Aug 02 '24 11:08 MagicalDrizzle