My PPM image contains the following :
P6
1200
670
255
ܒNԪjɝ[؋Cц:̈6y5"r-¼,ֈ?Ԛ_݈̻֬كڕÒɪxڇՄmxɘl܊؇euί\jĩqÿHqAʻKPùG9EʁM͂MO̿PɼLȀMǃOǁLƾH»D5A®>ǷFxCٲ;yFƾIǿJʀL»GڲAʂWǯŐĕх՜џᔡ嚪矱Ԫׄ࠘ĝцQfһψ΅e{ڈڗÖܻԡȜׂӐ}˸_hؖ`u؛dьWЋV̓MͺHυPƽF˂I>ٹ6}>س5>Eiuƻ1
and 40000 more lines of illegible code. Is this an encoding issue?
If you want it in ASCII P3 format, you can use ImageMagick, which is in most Linux distros and available for OSX and Windows,iike this
Then it will look like this: