Menu ▾ ▴

#74 Display corruptions with true colors

v1.0 (example)
open
nobody
None
5
2017-04-29
2017-04-27
No

Try this script to display a picture using true colors:
https://git.gnome.org/browse/vte/tree/perf/img.sh?h=vte-0-48

Note: ImageMagick is required. For newest ImageMagick releases, you might also need to apply the patch from https://bugzilla.gnome.org/show_bug.cgi?id=781865

Pass a picture (e.g. a high-resolution photo) to this script as parameter.

The picture probably appears correctly for the first time, but as you scroll back with the scrollbar, or highlight parts of it with the mouse and then cancel the highlight, the image becomes heavily corrupted.

img.sh executes quite slowly. If you redirect its output to a file, and then cat that file (that is, the same stuff is printed but much more quickly), the display is heavily corrupted straight away.

Ubuntu Zesty 17.04, 67526eae24a6, ./configure --with-gtk=3.0

Discussion

  • Araki Ken

    Araki Ken - 2017-04-29

    Hi,
    The maximum number of colors of each character is limited to 512 internally on mlterm.
    mlterm supports true colors by reusing these 512 palettes, so scrolling back or highlighting characters causes corruptions.
    I don't plan to fix this problem for now, sorry.
    Regards,

     

Log in to post a comment.