本文介绍了在CMD / MS-DOS ASCII艺术的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ANSCII指ASCII / ANSI的结果
对不起是题外话,管理员 - 堆栈Exchange站点,我应该去什么这些问题

我到处找在谷歌批处理/ Powershell的ANSCII艺术发生器,我找不到任何为我做这个工作,这是很难做出ANSCII艺术。而且我不只是使用的 pre-定义ANSCII艺术的,但是用户/变量定义。像这样的:

  C:\\>集VAR =ANSI测试
C:\\> ANSI%VAR%
 █████╗███╗██╗███████╗██╗ ████████╗███████╗███████╗████████╗
██╔══██╗████╗██║██╔════╝██║ ╚══██╔══╝██╔════╝██╔════╝╚══██╔══╝
███████║██╔██╗██║███████╗██║██║█████╗███████╗██║
██╔══██║██║╚██╗██║╚════██║██║██║██╔══╝╚════██║██║
██║██║██║╚████║███████║██║██║███████╗███████║██║
╚═╝╚═╝╚═╝╚═══╝╚══════╝╚═╝╚═╝╚══════╝╚══════╝╚═╝

  PS是$ var =ANSI测试
PS ANSI $ VAR
 █████╗███╗██╗███████╗██╗ ████████╗███████╗███████╗████████╗
██╔══██╗████╗██║██╔════╝██║ ╚══██╔══╝██╔════╝██╔════╝╚══██╔══╝
███████║██╔██╗██║███████╗██║██║█████╗███████╗██║
██╔══██║██║╚██╗██║╚════██║██║██║██╔══╝╚════██║██║
██║██║██║╚████║███████║██║██║███████╗███████║██║
╚═╝╚═╝╚═╝╚═══╝╚══════╝╚═╝╚═╝╚══════╝╚══════╝╚═╝

  C:\\>集VAR =ASCII测试
C:\\> ASCII%VAR%
   DB .dPY8 DPB8 88 88 888888 888888 .dPY8 888888
  dPYb`YBO。DP`88 88 88 88__`YBO。88
 dP__Yb o.`Y8b镱88 88 88 88,88 o.`Y8b
DP镱8bodP'YboodP 88 88 88 888888 8bodP88

  PS是$ var =ASCII测试
PS ASCII $ VAR
   DB .dPY8 DPB8 88 88 888888 888888 .dPY8 888888
  dPYb`YBO。DP`88 88 88 88__`YBO。88
 dP__Yb o.`Y8b镱88 88 88 88,88 o.`Y8b
DP镱8bodP'YboodP 88 88 88 888888 8bodP88


解决方案

前段时间我写了一个名为FIGBat.bat可能使用的。例如,下面的批处理文件:

 关闭@echo
CLS
呼叫figbat /˚F横幅我的计划
呼叫figbat /˚F末日使用标准
呼叫figbat /˚F史诗FigLet
呼叫figbat /˚FIsometric1 FONTS
回声/
回声______________________________________________________________________
回声/
呼叫figbat /˚F脚本安东尼奥

创建这样的输出:

  ##
 ## ## ## ##### ##### #### #### ##### ## ##
 ################## ## ##
 ##################
 ### ##### ##### ### ### ##### ###### ##
 ###############
 ## ## ## #### #### ## ## ##                         _ _ _
                        | | | | | |
 _ _ ___ ___ ___ | | _ __ _ __ __ | | __ _ __ __ | |
| | | | / __ | / _ \\ / __ || __ | / _` || '_ \\ / _` | / _` || __ | / _` |
| | _ | | \\ __ \\ | __ / \\ __ \\ | | _ | (_ | || | | ||(_ | ||(_ | || | |(_ | |
 \\ __,_ || ___ / \\ ___ | | ___ / \\ __ | \\ __,_ _ || | | _ | \\ __,_ | \\ __,_ _ || | \\ __,_ |
 _______ _________ _______ ________ ________
(\\\\ ____ __ /(____ \\(\\(____ \\\\ __ __ /
| (\\ /)(|(\\ / |(|(\\ /)(
| (__ | | | | | | |(__ | |
| __)| | | | ____ | | | __)| |
| (| | | | \\ _)| | | (| |
| )___)(___ |(___)||(____ / \\ |(____ / \\ | |
| / \\ _______ /(_______)(_______ /(_______ /)_(      ___ ___ ___ ___ ___
     / \\ \\ / \\ \\ / \\ __ \\ / \\ \\ / \\ \\
    / :: \\ \\ / :: \\ \\ / :: | | \\:\\ \\ / :: \\ \\
   /:/ \\:\\ \\ /:/ \\:\\ \\ /:|:| | \\:\\ \\ /:/ \\ \\ \\
  / :: \\〜\\:\\ \\ /:/ \\:\\ \\ /:/ |:| | __ / :: \\ \\ _ \\:\\〜\\ \\ \\
 /:/ \\:\\ \\:\\ __ \\ /:/ __ / \\:\\ __ \\ /:/ |:| / \\ __ \\ /:/ \\:\\ __ \\ / \\ \\:\\ \\ \\ __ \\
 \\ / __ \\:\\ \\ / __ / \\:\\ \\ /:/ / \\ / __ |:| /:/ / /:/ \\ / __ / \\:\\ \\:\\ \\ / __ /
      \\:\\ __ \\ \\:\\ /:/ / |:/:/ / /:/ / \\:\\ \\:\\ __ \\
       \\ / __ / \\:\\ /:/ / | :: / / \\ / __ / \\:\\ /:/ /
                  \\ :: / / /:/ / \\ :: / /
                   \\ / __ / \\ / __ / \\ / __ /______________________________________________________________________   ___,
  / | Ø
 | | _ _ _ | __ _ _ _ _ _
 | | / | / | | / \\ _ / | / | | / \\ _
  \\ __ / \\ _ / | | _ / | _ / \\ __ / | | _ / | _ / \\ __ /

默认字体使用ANSI字符块:

  C:\\> figbat安思测试
    ██████████
   ████
  █████████████████████████
 ███████████
 █████████████████████████
 ██████████
 ████████████████████

您可以从this帖子。

ANSCII means "ASCII/ANSI"
Sorry about being off topic, admins - What Stack Exchange Site should I go to for these Questions?

I've looked everywhere on Google for a Batch/Powershell ANSCII art Generator, and I can't find anything to do this job for me, and it is VERY hard to make ANSCII art. And I'm not just using pre-defined ANSCII Art, but User/Variable defined. Like this:

C:\> set var = "ANSI Test"
C:\> ansi %var%
 █████╗ ███╗   ██╗███████╗██╗    ████████╗███████╗███████╗████████╗
██╔══██╗████╗  ██║██╔════╝██║    ╚══██╔══╝██╔════╝██╔════╝╚══██╔══╝
███████║██╔██╗ ██║███████╗██║       ██║   █████╗  ███████╗   ██║
██╔══██║██║╚██╗██║╚════██║██║       ██║   ██╔══╝  ╚════██║   ██║
██║  ██║██║ ╚████║███████║██║       ██║   ███████╗███████║   ██║
╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝       ╚═╝   ╚══════╝╚══════╝   ╚═╝

or

PS $var = "ANSI Test"
PS ansi $var
 █████╗ ███╗   ██╗███████╗██╗    ████████╗███████╗███████╗████████╗
██╔══██╗████╗  ██║██╔════╝██║    ╚══██╔══╝██╔════╝██╔════╝╚══██╔══╝
███████║██╔██╗ ██║███████╗██║       ██║   █████╗  ███████╗   ██║
██╔══██║██║╚██╗██║╚════██║██║       ██║   ██╔══╝  ╚════██║   ██║
██║  ██║██║ ╚████║███████║██║       ██║   ███████╗███████║   ██║
╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚═╝       ╚═╝   ╚══════╝╚══════╝   ╚═╝

or

C:\> set var = "ASCII Test"
C:\> ascii %var%
   db    .dP"Y8  dP""b8 88 88     888888 888888 .dP"Y8 888888
  dPYb   `Ybo." dP   `" 88 88       88   88__   `Ybo."   88
 dP__Yb  o.`Y8b Yb      88 88       88   88""   o.`Y8b   88
dP""""Yb 8bodP'  YboodP 88 88       88   888888 8bodP'   88

or

PS $var = "ASCII Test"
PS ascii $var
   db    .dP"Y8  dP""b8 88 88     888888 888888 .dP"Y8 888888
  dPYb   `Ybo." dP   `" 88 88       88   88__   `Ybo."   88
 dP__Yb  o.`Y8b Yb      88 88       88   88""   o.`Y8b   88
dP""""Yb 8bodP'  YboodP 88 88       88   888888 8bodP'   88
解决方案

Some time ago I wrote a program called FIGBat.bat that may use the fonts created for FIGlet program. For example, the following Batch file:

@echo off
cls
call figbat /f Banner My program
call figbat /f Doom use standard
call figbat /f Epic FigLet
call figbat /f Isometric1 FONTS
echo/
echo ______________________________________________________________________
echo/
call figbat /f Script Antonio

Create this output:

 #     #
 ##   ##  #   #      #####   #####    ####    ####   #####     ##    #    #
 # # # #   # #       #    #  #    #  #    #  #    #  #    #   #  #   ##  ##
 #  #  #    #        #    #  #    #  #    #  #       #    #  #    #  # ## #
 #     #    #        #####   #####   #    #  #  ###  #####   ######  #    #
 #     #    #        #       #   #   #    #  #    #  #   #   #    #  #    #
 #     #    #        #       #    #   ####    ####   #    #  #    #  #    #

                         _                      _                   _
                        | |                    | |                 | |
 _   _  ___   ___   ___ | |_   __ _  _ __    __| |  __ _  _ __   __| |
| | | |/ __| / _ \ / __|| __| / _` || '_ \  / _` | / _` || '__| / _` |
| |_| |\__ \|  __/ \__ \| |_ | (_| || | | || (_| || (_| || |   | (_| |
 \__,_||___/ \___| |___/ \__| \__,_||_| |_| \__,_| \__,_||_|    \__,_|


 _______ _________ _______  _        _______ _________
(  ____ \\__   __/(  ____ \( \      (  ____ \\__   __/
| (    \/   ) (   | (    \/| (      | (    \/   ) (
| (__       | |   | |      | |      | (__       | |
|  __)      | |   | | ____ | |      |  __)      | |
| (         | |   | | \_  )| |      | (         | |
| )      ___) (___| (___) || (____/\| (____/\   | |
|/       \_______/(_______)(_______/(_______/   )_(

      ___           ___           ___           ___           ___
     /\  \         /\  \         /\__\         /\  \         /\  \
    /::\  \       /::\  \       /::|  |        \:\  \       /::\  \
   /:/\:\  \     /:/\:\  \     /:|:|  |         \:\  \     /:/\ \  \
  /::\~\:\  \   /:/  \:\  \   /:/|:|  |__       /::\  \   _\:\~\ \  \
 /:/\:\ \:\__\ /:/__/ \:\__\ /:/ |:| /\__\     /:/\:\__\ /\ \:\ \ \__\
 \/__\:\ \/__/ \:\  \ /:/  / \/__|:|/:/  /    /:/  \/__/ \:\ \:\ \/__/
      \:\__\    \:\  /:/  /      |:/:/  /    /:/  /       \:\ \:\__\
       \/__/     \:\/:/  /       |::/  /     \/__/         \:\/:/  /
                  \::/  /        /:/  /                     \::/  /
                   \/__/         \/__/                       \/__/

______________________________________________________________________

   ___,
  /   |                           o
 |    |   _  _   _|_  __   _  _       __
 |    |  / |/ |   |  /  \_/ |/ |  |  /  \_
  \__/\_/  |  |_/ |_/\__/   |  |_/|_/\__/

The default font use Ansi block character:

C:\> figbat Ansi Test
    █                     █      ███████                   █
   █ █                              █                      █
  █   █   ████    ████   ██         █      ████    ████   ████
 █     █  █   █  █        █         █     █    █  █        █
 ███████  █   █   ████    █         █     █████    ████    █
 █     █  █   █       █   █         █     █            █   █
 █     █  █   █   ████    █         █      ████    ████     ██

You may copy FIGBat.bat program from this post.

这篇关于在CMD / MS-DOS ASCII艺术的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-18 23:36