imgcat icon indicating copy to clipboard operation
imgcat copied to clipboard

Any plans to support 24-bit color?

Open ryanerwin opened this issue 5 years ago • 1 comments

image

#   The foreground escape sequence is ^[38;2;<r>;<g>;<b>m
#   The background escape sequence is ^[48;2;<r>;<g>;<b>m
#   <r> <g> <b> range from 0 to 255 inclusive.
#   The escape sequence ^[0m returns output to default

https://github.com/tmux/tmux/blob/master/tools/24-bit-color.sh

ryanerwin avatar Jun 06 '19 06:06 ryanerwin

Hey @ryanerwin! This sounds good! I may definitely implement 24-bit colour when I find the time. If you're impatient, feel free to open a pull request! The place to implement it is print_image.c.

eddieantonio avatar Jun 06 '19 15:06 eddieantonio