More ASCII Art

A few recent posts on the weblogs.asp.net feed [1 2 3] reminded me of a some code I wrote a year ago and have been meaning to post.

This is a simple ASP.NET page - you upload the image file and input the text; it scales the text to the same proportions as the image and applies the HTML color in a font tag. Most ASCII Art things just let you pick the image, this one lets you pick your text too - helpful if you want to embed your copyright into the image. Okay, yes, it is completely useless. One obvious optimization would be grouping to eliminate unnecessary font tags when adjacent characters are the same color (<font color='#BFBFBF'>i</font><font color='#BFBFBF'>t</font> becomes <font color='#BFBFBF'>it</font>).

Try it: [here]

Sample output:

With Microsoft® Visual Studio® .NET and the Microsoft .NET Framework, developers can develop Web
services quickly and integrate them easily with other applications. Most developers can leverage
existing skills, because the .NET Framework's common language runtime allows you to develop Web
services using any modern programming language.     * Microsoft Visual Studio .NET and the Microsoft
.NET Framework supply a complete solution for developers to build, deploy, and run Web services.     *
These tools help enhance the performance, reliability, and security of Web services. Microsoft
Visual Studio .NET Developers can use a variety of programming environments to create Web services.
Microsoft Visual Studio .NET represents the best development environment for .NET-connected software
and services. Visual Studio .NET advances the high-productivity programming languages: Microsoft
Visual Basic®, which includes new object-oriented programming features; Microsoft Visual C++®, which
advances Microsoft Windows® development and enables you to build .NET-connected applications; and C#,
which brings RAD to the C and C++ developer. Program in the Right Language for the Task Visual
Studio .NET provides a single, unified development environment. Built on the .NET Framework, it
provides support for working with Web services created in all modern programming languages.
Applications and Web services created in one language can be programmed against and debugged in any
other language supported by Visual Studio .NET. This greatly enhances the ability to use existing Web
services to build new and exciting solutions. Transform Applications into Web Services Visual
Studio .NET automatically creates the necessary XML and SOAP interface needed to turn an application
into a Web service. Developers can concentrate on building the application, not on the plumbing for the
Web service. Reuse Existing Web Services Developing with Web services is similar to developing with
components. Visual Studio .NET gives developers the ease of importing Web services or using Web
services hosted remotely and programming against them as they would a COM element today, saving time
and giving developers the opportunity to concentrate on core functionality. Microsoft .NET Framework
and Microsoft .NET Compact Framework The .NET Framework, and the device-focused .NET Compact
Framework, are high-productivity, standards-based, multi-language application execution environments
that handle essential plumbing chores and ease deployment. The application execution environment
manages memory, addresses versioning issues, and improves the reliability, scalability, and security of
your application. Components include the common language runtime, a rich set of class libraries for
building Web services, and Microsoft ASP.NET. The common language runtime is the engine in the .NET
Framework that provides a managed execution environment, which is protected by industry-standard
technologies, and is designed to support developers using many different languages to create
applications.

Code:

+ Default.aspx.cs 

+ Default.aspx 

Published Sunday, August 01, 2004 9:33 PM by Jon Galloway
Filed under:

Comments

# Behave properly on your posts

Monday, August 02, 2004 7:43 AM by TrackBack

# Behave properly on your posts

Monday, August 02, 2004 7:45 AM by TrackBack

# I couldn't agree with Kzu more

Monday, August 02, 2004 11:05 AM by TrackBack

# I couldn't agree with Kzu more

Monday, August 02, 2004 11:08 AM by TrackBack

# Wonderful ASCII

Thursday, September 09, 2004 3:08 AM by TrackBack

# re: More ASCII Art

                          .,,,yyyy@@yyyyy,,,                                                        ,ytS$$CCCCCCCCCCCCCCC?III;,.                                                .yt$$$$$$$$CCCCCCCCCCCCCCCCIIIIII;.                                          ,4$$$$$$$$$$$$$$SCCCCCCCCCCCCCCC?IIIII;                                      y$$$$$$$$$$$$$$$$$$$$CCCCCCCCCCCCCCCIIII,                                    ,$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCCCCCCCCCIIII:                                  l$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCCCCCCCIIIIi                                 t$$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCCCCCCCIIII:                               .l$$$$$$$$$$$$$$$$$$$$$$$$$$$SCCCCCCCCCCCCCIIII,  i                            d$$$$$$$$$$$$$$$$$$$$$$$$$$$SCCCCCCCCCCCCCIIIII. ;I,                           $$$$$$$$$$$$$$$$$$$$$$$$$$SSCCCCCCCCCCCCCIIIIIII .III                         j$$$$$$$$$$$$$$$$$$$$$$$$$SSCCCCCCCCCCCCCCIIIIIIIi.II;                         ]$$$$$$$$$$$$$$$$$$$$P"'   `"^?CCCCCCCCCCIIIIIIIIIIIII                         l$$$$$$$$$$$$$$$$P"''    .,..   `;?CCCCCCC?IIIIIIIIII;     .y%*                l$$$$$$$$$$$$SP"     ,yS$$$$$$Shy..`"IICCCCCCII:  ::      4C7;  \              $$$$$$$$$$$SP.   .;;$$$SCCCCCSSCCCCSb: ICCCCCCCII; ''  liC$ClCC;;l             $$$$$$$$$$$$I::lIIIICCSSSSSSCCCCCCCCCCIICCCCCCCI       ICCC$lCC??;b            P"^^^48$$$$$$SSIII' `Ii :   y,"ICCCS$SCCCCCCCCCCI      ICl"l "7SSbl.          :        l$$8888II66 ,?$b,yySIIICC$$$$$$$$SCCCCCCCI     ?CCb l JCC$il          :  .    ,$$$$$$CCCC$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCI     ICS$li$$SCC?l           `SS",+.$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCI     !?S$ ;I$$SCCP            "' : S$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCI      ICSCS$$$$$I              ;:6$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCI        `?C$$$$P                 `$$$$$$$$$$S$$$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCCI         `""""'                  j$$$$$$$$$SCCS$$$$$$$$$$$$$$$$$$$$$$$$$CCCCCI                                  $$$$$$$$$$$$$CI$$$$$$$$$$$$$$$$$$$$$$$SCCCCCI;                                j$$$$$$$$$$SS$CI$$$$$$$$$$$$$$$$$$$$$$SSCCCCCIi                                7$$$$T7"`,yyiIIC$$$$$$$$$$$$$$$$$$$$$SSSSCCCC?i                                 "4$SC**7"""-:47$$$$$$$$$$$$$$$$$$$$$SSSSCCCCCI                                   7I       . ,';' ";7ICS$$$$$$$$$C$S$$$$$CCCCl                                   : jy.,jyyjCCCCi ..i."7C$$$$$$C$CS$S$$$SCCC?'      ;                           : d$$$$CCC7?"""""?7CiiCS$$$$SCCCC$S$$$$CCCC;       i,                           .CC,]CCSSSCCSCCCIiIiICS$$$SSCCCCS$$$$SCC?        .|                            :`j$$$$$$$$SCCCC$$$CICS$$SCCCCCCCC$CC?;          iI.                            :l$$$$$$$CCCCCS$$$$C?iCCCCCCCCC7"'.,          .iII,                             :C?"~~    ,CCC$$$IiIiCCCCCCC?   '           ,IIIII                              :$7  ,_,jS$$$$CIiIi?iCCC??                iI?CCCII                            .;  :;i:;;?S???iiIiIi?i'                iII?CCCCCII.                           ;  ';'    ?lCi??i;i;;                  iI?CCCCCCCCIIi                         :            ;? ;I"                  iIIICCSCCCCCCCCIIl                         ;                             .,iiI?CCCC$$$$$SSCCCCCCIi I, II;                  '.                 _,.   ,i,IIII?CCCCCS$$$$$$SSSCCCCIIIIIIIII'                   ' ~  + =- - ' ~ ` SCCIIIIII???CCCCS$$$$$$$$$$$SCCCCCCC?I"                                        l$$CCCCCCCCCCCCS$$$$$$$$$$$$$$$$SCCC"`    

Wednesday, October 17, 2007 3:51 AM by big noy

# re: More ASCII Art

Hello everyone. You can't wait for inspiration. You have to go after it with a club. Help me! It has to find sites on the: You must be logged in to post a comment.. I found only this - [URL=www.dst.gov.za/.../Comcast]Comcast basic cable channel lineup[/URL]. Comcast also announced swap of subscribers with time warner cable. This is perfectly designed for end to end voip setup well suite for small and medium size itsp business, that let servi. Thank :-) Lona from Montenegro.

Monday, August 17, 2009 3:06 PM by Lona

Leave a Comment

(required) 
(required) 
(optional)
(required)