Graphics in the console???

Apr 1, 2012 at 8:10pm
Hey all =)

I was wondering if there was any way to display graphics in the console window. Like for example, let's say I have a bmp and I wanted to load it and show it in the console window. Is this possible? I'm on Windows and I'm using CodeBlocks v10.05

Thanks in advance ^^

SuperSonic
Apr 1, 2012 at 8:16pm
closed account (S6k9GNh0)
Do you really wanna go down this road...? Why not just use a window widget library and load an image through that?
Last edited on Apr 1, 2012 at 8:16pm
Apr 1, 2012 at 8:16pm
I'm fairly sure that this: http://picascii.com/ is as close as you can get. You can only display ascii characters.
Apr 2, 2012 at 2:41am
Do you really wanna go down this road...? Why not just use a window widget library and load an image through that?

Well, I would rather use the console. Just for fun ^^

Is there any function like cout that let's you change the colors of pixels?

I'm fairly sure that this: http://picascii.com/ is as close as you can get. You can only display ascii characters.

Thanks for the link but that's not really what I'm looking for. But thank you =)
Apr 2, 2012 at 2:48am
closed account (S6k9GNh0)
No, the extent of the standard C or C++ library doesn't fulfull this want as far as I know. You'll need nCurses, the only updated console manipulation library that I know of.
Apr 2, 2012 at 2:54am
You're trying to do things the console was not designed to do. It will be more difficult than just doing things normally.
Apr 2, 2012 at 3:43am
A shockingly common request for inanity.
http://www.cplusplus.com/forum/general/4563/#msg20120
Apr 2, 2012 at 8:21pm
No, the extent of the standard C or C++ library doesn't fulfull this want as far as I know. You'll need nCurses, the only updated console manipulation library that I know of.

Ok thank you. I'll take a look into that =)

You're trying to do things the console was not designed to do. It will be more difficult than just doing things normally.

Well, that's kind of why I want to do this anyways. I like finding simple solutions to complicated tasks. I guess it's sort of silly but it keeps me entertained ^^

A shockingly common request for inanity.

Oh cool! I'm gonna read that =D
Apr 2, 2012 at 8:26pm
I like finding simple solutions to complicated tasks.


Well you're kind of doing the opposite here and finding a complicated solution to a simple task.

It's all fine and good for funsies. I like doing impractical but fun projects sometimes too. Just as long as you know it's impractical =)
Apr 2, 2012 at 8:28pm
I'll do you one better, let's display a pseudo 3D animation in the console! :D

(I wonder if hamsterman still the source code he used for that same thing)
Topic archived. No new replies allowed.