Hello, FFmpeg can read PGM (Portable Gray Map) files that are either ASCII coded (beginning with "P2") or binary coded (beginning with "P5"). When writing a PGM file, the default format is binary. Is it also possible to write an ASCII coded PGM file? Thanks, Michael