Display images in the console-just for fun

Source: Internet
Author: User

Bored. I tried to display images on the console. You can set the Character Color and background color on the console. Although there are only seven or eight character colors, it is enough to distinguish them. The following are two images displayed on the console. Although it is a bit ugly, it is enough for entertainment.

 

First, draw a box around the image, and then set the character attributes one by one in the box. Color Processing simply assigns the grayscale value to the parameter that sets the character attribute on the console, so it looks a little weird.


This is a project. Use vs2008. [Note:ProgramOpencv2.3.1 function is used to read images]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.