![]() |
ppmtoansippmtoansi converts a ppm-file to ansi text output e.g. colorized text.Example usage in muttAdd the following to your .mailcap file:image/*; anytopnm %s 2> /dev/null | pnmnorm 2> /dev/null | pnmscale -xysize 120 50 | pnmnorm 2> /dev/null | ppmtoansi ; copiousoutput Download
Changes0.4: grayscale mode added0.3: speed improvement and better character selection in hls mode 0.2: improved colorselection by introducing '-m mode' where mode is either rgb or hls: hls gives the best colors, optimized output 0.1: initial release Example output![]() ![]() ![]() ![]() ![]() |