Sunday 18 December 2011

nCurses custom characters?

nCurses custom characters?

I tend to work in the terminal quite a bit and just had an urge to make an nCurses based image viewer. Now I have been able to get some colors and rough shading using the half shaded characters but I was wondering if I could take this a bit further and attempt to create custom characters with nCurses.

Essentially I would resize the image and then use custom characters (each unique) to reflect a tile of the raster image. Is it possible to create custom nCurses characters on the fly to show the tile of an image they cover? I assume such a thing would mean poking bits directly into the location the character is stored in memory.

Worth a look if anyone knows. :)

No comments:

Post a Comment