'Display images in linux terminal using C++

I am trying to display images in a linux kitty terminal with C++. I already have a script for bash that uses kitty's icat to display images. Is it possible to use icat within C++ in order to display images or are there other similar solutions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source